ExecutionMemoryPool¶
ExecutionMemoryPool
is a MemoryPool.
Creating Instance¶
ExecutionMemoryPool
takes the following to be created:
- Lock Object
-
MemoryMode
(ON_HEAP
orOFF_HEAP
)
ExecutionMemoryPool
is created when:
Acquiring Memory¶
acquireMemory(
numBytes: Long,
taskAttemptId: Long,
maybeGrowPool: Long => Unit = (additionalSpaceNeeded: Long) => (),
computeMaxPoolSize: () => Long = () => poolSize): Long
acquireMemory
...FIXME
acquireMemory
is used when:
UnifiedMemoryManager
is requested to acquire execution memory