Package

scala.scalanative

runtime

Permalink

package runtime

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. runtime
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Array[T] extends java.io.Serializable with java.lang.Cloneable

    Permalink
  2. final class BooleanArray extends Array[Boolean]

    Permalink
  3. final class ByteArray extends Array[Byte]

    Permalink
  4. final class CharArray extends Array[Char]

    Permalink
  5. final class DoubleArray extends Array[Double]

    Permalink
  6. final class FloatArray extends Array[Float]

    Permalink
  7. final class IntArray extends Array[Int]

    Permalink
  8. final class LongArray extends Array[Long]

    Permalink
  9. final class MemoryPool extends AnyRef

    Permalink

    Efficient pool of fixed-size memory pages.

    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.

  10. final class MemoryPoolZone extends Zone

    Permalink

    An optimized implementation of a zone that performs all allocations sequentially in pages that are claimed from memory pool.

    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.

  11. sealed class Monitor extends AnyRef

    Permalink
  12. final class ObjectArray extends Array[AnyRef]

    Permalink
  13. abstract final class PrimitiveBoolean extends AnyRef

    Permalink
  14. abstract final class PrimitiveByte extends AnyRef

    Permalink
  15. abstract final class PrimitiveChar extends AnyRef

    Permalink
  16. abstract final class PrimitiveDouble extends AnyRef

    Permalink
  17. abstract final class PrimitiveFloat extends AnyRef

    Permalink
  18. abstract final class PrimitiveInt extends AnyRef

    Permalink
  19. abstract final class PrimitiveLong extends AnyRef

    Permalink
  20. abstract final class PrimitiveShort extends AnyRef

    Permalink
  21. abstract final class PrimitiveUnit extends AnyRef

    Permalink
  22. abstract final class RawPtr extends AnyRef

    Permalink
  23. final class ShortArray extends Array[Short]

    Permalink
  24. final class UndefinedBehaviorError extends java.lang.Error

    Permalink

    An exception that is thrown whenever an undefined behavior happens in a checked mode.

  25. final class struct extends Annotation with StaticAnnotation

    Permalink

    An annotation that is used to mark classes to be optimized as immutable pass-by-value structures.

Value Members

  1. object Array extends Serializable

    Permalink
  2. object BooleanArray extends Serializable

    Permalink
  3. object Boxes

    Permalink
  4. object ByteArray extends Serializable

    Permalink
  5. object CharArray extends Serializable

    Permalink
  6. object DoubleArray extends Serializable

    Permalink
  7. object ExecutionContext

    Permalink
  8. object FloatArray extends Serializable

    Permalink
  9. object GC

    Permalink

    The Boehm GC conservative garbage collector

    The Boehm GC conservative garbage collector

    Annotations
    @extern()
    See also

    C Interface

  10. object IntArray extends Serializable

    Permalink
  11. object Intrinsics

    Permalink
  12. object LLVMIntrinsics

    Permalink

    Annotations
    @extern()
    See also

    LLVM intrinsics functions

  13. object LongArray extends Serializable

    Permalink
  14. object MemoryPool

    Permalink
  15. object MemoryPoolZone

    Permalink
  16. object Monitor

    Permalink
  17. object ObjectArray extends Serializable

    Permalink
  18. object Platform

    Permalink
    Annotations
    @extern()
  19. object PlatformExt

    Permalink
  20. object ShortArray extends Serializable

    Permalink
  21. object SymbolFormatter

    Permalink
  22. def fromRawPtr[T](rawptr: RawPtr): Ptr[T]

    Permalink
    Annotations
    @alwaysinline()
  23. def getMonitor(obj: AnyRef): Monitor

    Permalink

    Get monitor for given object.

    Get monitor for given object.

    Annotations
    @alwaysinline()
  24. package ieee754tostring

    Permalink
  25. def init(argc: Int, rawargv: RawPtr): scala.Array[String]

    Permalink

    Initialize runtime with given arguments and return the rest as Java-style array.

  26. def intrinsic: Nothing

    Permalink

    Used as a stub right hand of intrinsified methods.

  27. object libc

    Permalink
    Annotations
    @extern()
  28. def loop(): Unit

    Permalink

    Run the runtime's event loop.

    Run the runtime's event loop. The method is called from the generated C-style after the application's main method terminates.

    Annotations
    @noinline()
  29. def throwClassCast(from: RawPtr, to: RawPtr): Nothing

    Permalink

    Called by the generated code in case of incorrect class cast.

    Called by the generated code in case of incorrect class cast.

    Annotations
    @noinline()
  30. def throwDivisionByZero(): Nothing

    Permalink

    Called by the generated code in case of division by zero.

    Called by the generated code in case of division by zero.

    Annotations
    @noinline()
  31. def throwNoSuchMethod(sig: String): Nothing

    Permalink

    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.

    Annotations
    @noinline()
  32. def throwNullPointer(): Nothing

    Permalink

    Called by the generated code in case of operations on null.

    Called by the generated code in case of operations on null.

    Annotations
    @noinline()
  33. def throwOutOfBounds(i: Int): Nothing

    Permalink

    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.

    Annotations
    @noinline()
  34. def throwUndefined(): Nothing

    Permalink

    Called by the generated code in case of unexpected condition.

    Called by the generated code in case of unexpected condition.

    Annotations
    @noinline()
  35. object time

    Permalink
    Annotations
    @extern()
  36. def toRawPtr[T](ptr: Ptr[T]): RawPtr

    Permalink
    Annotations
    @alwaysinline()
  37. object unwind

    Permalink
    Annotations
    @extern()
  38. object zlib

    Permalink
    Annotations
    @link( name = "z" ) @extern()
  39. object zlibExt

    Permalink
  40. object zlibOps

    Permalink

Deprecated Value Members

  1. def getRawType(obj: AnyRef): RawPtr

    Permalink

    Read type information of given object.

    Read type information of given object.

    Annotations
    @deprecated @alwaysinline()
    Deprecated

    (Since version 0.4.1) Internal API, deprecated for removal

  2. def toClass(rtti: RawPtr): _Class[_]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.1) Internal API, deprecated for removal

  3. def toRawType(cls: Class[_]): RawPtr

    Permalink
    Annotations
    @deprecated @alwaysinline()
    Deprecated

    (Since version 0.4.1) Internal API, deprecated for removal

Inherited from AnyRef

Inherited from Any

Ungrouped