Skip to content

MemoryPool

MemoryPool is an abstraction of memory pools.

Contract

Size of Memory Used

memoryUsed: Long

Used when:

Implementations

Creating Instance

MemoryPool takes the following to be created:

  • Lock Object
Abstract Class

MemoryPool is an abstract class and cannot be created directly. It is created indirectly for the concrete MemoryPools.

Free Memory

memoryFree

memoryFree...FIXME

memoryFree is used when:

decrementPoolSize

decrementPoolSize(
  delta: Long): Unit

decrementPoolSize...FIXME

decrementPoolSize is used when: