ExecutionMemoryPool¶
ExecutionMemoryPool is a MemoryPool.
Creating Instance¶
ExecutionMemoryPool takes the following to be created:
- Lock Object
-
MemoryMode(ON_HEAPorOFF_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:
UnifiedMemoryManageris requested to acquire execution memory