Class/Object

scala.scalanative.runtime

MemoryPoolZone

Related Docs: object MemoryPoolZone | package runtime

Permalink

final class MemoryPoolZone extends Zone

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.

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

Instance Constructors

  1. new MemoryPoolZone(pool: MemoryPool)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def alloc(size: CSize, alignment: CSize): Ptr[Byte]

    Permalink
  5. def alloc(size: CSize): Ptr[Byte]

    Permalink

    Allocates memory of given size.

    Allocates memory of given size.

    Definition Classes
    MemoryPoolZoneZone
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(): Unit

    Permalink

    Frees allocations.

    Frees allocations. This zone allocator is not reusable once closed.

    Definition Classes
    MemoryPoolZoneZone
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def isClosed: Boolean

    Permalink

    Return this zone allocator is closed or not.

    Return this zone allocator is closed or not.

    Definition Classes
    MemoryPoolZoneZone
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isOpen: Boolean

    Permalink

    Return this zone allocator is open or not.

    Return this zone allocator is open or not.

    Definition Classes
    MemoryPoolZoneZone
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Zone

Inherited from AnyRef

Inherited from Any

Ungrouped