scala.scalanative.runtime
Type members
Classlikes
The Boehm GC conservative garbage collector
The Boehm GC conservative garbage collector
- See also:
Efficient pool of fixed-size memory pages. Allocations from underlying allocator are performed in big chunks of memory that are sliced into pages of requested size.
Efficient pool of fixed-size memory pages. Allocations from underlying allocator are performed in big chunks of memory that are sliced into pages of requested size.
Pages and chunks are organized in an intrusive linked list way to minimise memory overhead and re-use the same nodes for the whole lifetime of the pool.
Memory is reclaimed back to underlying allocator once the pool is finalized.
- Companion:
- object
An optimized implementation of a zone that performs all allocations sequentially in pages that are claimed from memory pool. Larger allocations are allocated using the system allocator and persisted in an array buffer.
An optimized implementation of a zone that performs all allocations sequentially in pages that are claimed from memory pool. Larger allocations are allocated using the system allocator and persisted in an array buffer.
- Companion:
- object
An exception that is thrown whenever an undefined behavior happens in a checked mode.
An exception that is thrown whenever an undefined behavior happens in a checked mode.
An annotation that is used to mark classes to be optimized as immutable pass-by-value structures.
An annotation that is used to mark classes to be optimized as immutable pass-by-value structures.
Value members
Concrete methods
Initialize runtime with given arguments and return the rest as Java-style array.
Initialize runtime with given arguments and return the rest as Java-style array.
Used as a stub right hand of intrinsified methods.
Used as a stub right hand of intrinsified methods.
Run the runtime's event loop. The method is called from the generated C-style after the application's main method terminates.
Run the runtime's event loop. The method is called from the generated C-style after the application's main method terminates.
Called by the generated code in case of incorrect class cast.
Called by the generated code in case of incorrect class cast.
Called by the generated code in case of division by zero.
Called by the generated code in case of division by zero.
Called by the generated code in case of missing method on reflective call.
Called by the generated code in case of missing method on reflective call.
Called by the generated code in case of operations on null.
Called by the generated code in case of operations on null.
Called by the generated code in case of out of bounds on array access.
Called by the generated code in case of out of bounds on array access.
Deprecated methods
Read type information of given object.
Read type information of given object.
- Deprecated