| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final LongAdder | |
| private final LongAdder | |
| private long | |
| private final LongAdder | |
| pack-priv final AllocationType | |
| private final List | |
| private final LongAdder | |
| private long | |
| private long | |
| pack-priv final int | |
| private final ReentrantLock | |
| pack-priv final MemoryManager | |
| pack-priv final int | |
| pack-priv final AtomicInteger | |
| pack-priv final PooledBufferAllocator | |
| private final PoolChunkList | |
| private final PoolChunkList | |
| private final PoolChunkList | |
| private final PoolChunkList | |
| private final PoolChunkList | |
| private final PoolChunkList | |
| private final PoolSubpage[] | |
| private static final VarHandle |
| Access | Constructor and Description |
|---|---|
| protected | PoolArena(PooledBufferAllocator parent, MemoryManager manager, AllocationType allocationType, int pageSize, int pageShifts, int chunkSize, int cacheAlignment)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv UntetheredMemory | |
| private UntetheredMemory | |
| private UntetheredMemory | |
| private static void | |
| public List | chunkLists()
Implements io. List which holds PoolChunkListMetrics.
|
| public void | |
| pack-priv PoolSubpage | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| protected final PoolChunk | |
| private static PoolSubpage[] | |
| private static PoolSubpage | |
| public long | numActiveAllocations()
Implements io. |
| public long | numActiveBytes()
Implements io. |
| public long | numActiveHugeAllocations()
Implements io. |
| public long | numActiveNormalAllocations()
Implements io. |
| public long | numActiveSmallAllocations()
Implements io. |
| public long | numAllocations()
Implements io. |
| public int | numChunkLists()
Implements io. |
| public long | numDeallocations()
Implements io. |
| public long | numHugeAllocations()
Implements io. |
| public long | numHugeDeallocations()
Implements io. |
| public long | numNormalAllocations()
Implements io. |
| public long | numNormalDeallocations()
Implements io. |
| public long | numPinnedBytes()
Implements io. |
| public long | numSmallAllocations()
Implements io. |
| public long | numSmallDeallocations()
Implements io. |
| public int | numSmallSubpages()
Implements io. |
| public int | numThreadCaches()
Implements io. |
| private static PoolArena. | |
| public List | smallSubpages()
Implements io. List which holds PoolSubpageMetrics for small sub-pages.
|
| private static List | |
| private UntetheredMemory | |
| private UntetheredMemory | |
| public String | |
| pack-priv void |
| activeBytesHuge | back to summary |
|---|---|
| private final LongAdder activeBytesHuge | |
| allocationsHuge | back to summary |
|---|---|
| private final LongAdder allocationsHuge | |
| allocationsNormal | back to summary |
|---|---|
| private long allocationsNormal | |
| allocationsSmall | back to summary |
|---|---|
| private final LongAdder allocationsSmall | |
| allocationType | back to summary |
|---|---|
| pack-priv final AllocationType allocationType | |
| chunkListMetrics | back to summary |
|---|---|
| private final List<PoolChunkListMetric> chunkListMetrics | |
| deallocationsHuge | back to summary |
|---|---|
| private final LongAdder deallocationsHuge | |
| deallocationsNormal | back to summary |
|---|---|
| private long deallocationsNormal | |
| deallocationsSmall | back to summary |
|---|---|
| private long deallocationsSmall | |
| directMemoryCacheAlignment | back to summary |
|---|---|
| pack-priv final int directMemoryCacheAlignment Hides io. | |
| lock | back to summary |
|---|---|
| private final ReentrantLock lock | |
| manager | back to summary |
|---|---|
| pack-priv final MemoryManager manager | |
| numSmallSubpagePools | back to summary |
|---|---|
| pack-priv final int numSmallSubpagePools | |
| numThreadCaches | back to summary |
|---|---|
| pack-priv final AtomicInteger numThreadCaches | |
| parent | back to summary |
|---|---|
| pack-priv final PooledBufferAllocator parent | |
| q000 | back to summary |
|---|---|
| private final PoolChunkList q000 | |
| q025 | back to summary |
|---|---|
| private final PoolChunkList q025 | |
| q050 | back to summary |
|---|---|
| private final PoolChunkList q050 | |
| q075 | back to summary |
|---|---|
| private final PoolChunkList q075 | |
| q100 | back to summary |
|---|---|
| private final PoolChunkList q100 | |
| qInit | back to summary |
|---|---|
| private final PoolChunkList qInit | |
| smallSubpagePools | back to summary |
|---|---|
| private final PoolSubpage[] smallSubpagePools | |
| SUBPAGE_ARRAY | back to summary |
|---|---|
| private static final VarHandle SUBPAGE_ARRAY | |
| PoolArena | back to summary |
|---|---|
| protected PoolArena(PooledBufferAllocator parent, MemoryManager manager, AllocationType allocationType, int pageSize, int pageShifts, int chunkSize, int cacheAlignment) | |
| allocate | back to summary |
|---|---|
| pack-priv UntetheredMemory allocate(PoolThreadCache cache, int size) | |
| allocateHuge | back to summary |
|---|---|
| private UntetheredMemory allocateHuge(int size) | |
| allocateNormal | back to summary |
|---|---|
| private UntetheredMemory allocateNormal(int size, int sizeIdx, PoolThreadCache threadCache) | |
| appendPoolSubPages | back to summary |
|---|---|
| private static void appendPoolSubPages(StringBuilder buf, PoolSubpage[] subpages) | |
| chunkLists | back to summary |
|---|---|
| public List Implements io. Doc from io. Returns an unmodifiable
| |
| close | back to summary |
|---|---|
| public void close() | |
| findSubpagePoolHead | back to summary |
|---|---|
| pack-priv PoolSubpage findSubpagePoolHead(int sizeIdx) | |
| free | back to summary |
|---|---|
| pack-priv void free(PoolChunk chunk, long handle, int normCapacity, PoolThreadCache cache) | |
| freeChunk | back to summary |
|---|---|
| pack-priv void freeChunk(PoolChunk chunk, long handle, int normCapacity, PoolArena. | |
| incSmallAllocation | back to summary |
|---|---|
| private void incSmallAllocation() | |
| lock | back to summary |
|---|---|
| pack-priv void lock() | |
| newChunk | back to summary |
|---|---|
| protected final PoolChunk newChunk(int pageSize, int maxPageIdx, int pageShifts, int chunkSize) | |
| newSubpagePoolArray | back to summary |
|---|---|
| private static PoolSubpage[] newSubpagePoolArray(int size) | |
| newSubpagePoolHead | back to summary |
|---|---|
| private static PoolSubpage newSubpagePoolHead() | |
| numActiveAllocations | back to summary |
|---|---|
| public long numActiveAllocations() Implements io. Doc from io. Return the number of currently active allocations.
| |
| numActiveBytes | back to summary |
|---|---|
| public long numActiveBytes() Implements io. Doc from io. Return the number of active bytes that are currently allocated by the arena.
| |
| numActiveHugeAllocations | back to summary |
|---|---|
| public long numActiveHugeAllocations() Implements io. Doc from io. Return the number of currently active huge allocations.
| |
| numActiveNormalAllocations | back to summary |
|---|---|
| public long numActiveNormalAllocations() Implements io. Doc from io. Return the number of currently active normal allocations.
| |
| numActiveSmallAllocations | back to summary |
|---|---|
| public long numActiveSmallAllocations() Implements io. Doc from io. Return the number of currently active small allocations.
| |
| numAllocations | back to summary |
|---|---|
| public long numAllocations() Implements io. Doc from io. Return the number of allocations done via the arena. This includes all sizes.
| |
| numChunkLists | back to summary |
|---|---|
| public int numChunkLists() Implements io. Doc from io. Returns the number of chunk lists for the arena.
| |
| numDeallocations | back to summary |
|---|---|
| public long numDeallocations() Implements io. Doc from io. Return the number of deallocations done via the arena. This includes all sizes.
| |
| numHugeAllocations | back to summary |
|---|---|
| public long numHugeAllocations() Implements io. Doc from io. Return the number of huge allocations done via the arena.
| |
| numHugeDeallocations | back to summary |
|---|---|
| public long numHugeDeallocations() Implements io. Doc from io. Return the number of huge deallocations done via the arena.
| |
| numNormalAllocations | back to summary |
|---|---|
| public long numNormalAllocations() Implements io. Doc from io. Return the number of normal allocations done via the arena.
| |
| numNormalDeallocations | back to summary |
|---|---|
| public long numNormalDeallocations() Implements io. Doc from io. Return the number of normal deallocations done via the arena.
| |
| numPinnedBytes | back to summary |
|---|---|
| public long numPinnedBytes() Implements io. Doc from io. Return the number of bytes that are currently pinned to buffer instances, by the arena.
| |
| numSmallAllocations | back to summary |
|---|---|
| public long numSmallAllocations() Implements io. Doc from io. Return the number of small allocations done via the arena.
| |
| numSmallDeallocations | back to summary |
|---|---|
| public long numSmallDeallocations() Implements io. Doc from io. Return the number of small deallocations done via the arena.
| |
| numSmallSubpages | back to summary |
|---|---|
| public int numSmallSubpages() Implements io. Doc from io. Returns the number of small sub-pages for the arena.
| |
| numThreadCaches | back to summary |
|---|---|
| public int numThreadCaches() Implements io. Doc from io. Returns the number of thread caches backed by this arena.
| |
| sizeClass | back to summary |
|---|---|
| private static PoolArena. | |
| smallSubpages | back to summary |
|---|---|
| public List Implements io. Doc from io. Returns an unmodifiable
| |
| subPageMetricList | back to summary |
|---|---|
| private static List | |
| tcacheAllocateNormal | back to summary |
|---|---|
| private UntetheredMemory tcacheAllocateNormal(PoolThreadCache cache, int size, int sizeIdx) | |
| tcacheAllocateSmall | back to summary |
|---|---|
| private UntetheredMemory tcacheAllocateSmall(PoolThreadCache cache, final int size, final int sizeIdx) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| unlock | back to summary |
|---|---|
| pack-priv void unlock() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PoolArena. | |
| public static final PoolArena. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PoolArena. | |
| public static PoolArena. |
| Normal | back to summary |
|---|---|
| public static final PoolArena. | |
| Small | back to summary |
|---|---|
| public static final PoolArena. | |
| SizeClass | back to summary |
|---|---|
| private SizeClass() | |
| valueOf | back to summary |
|---|---|
| public static PoolArena. | |
| values | back to summary |
|---|---|
| public static PoolArena. | |