| Modifier and Type | Field and Description |
|---|---|
| private static final VarHandle | |
| private volatile long | |
| private final Reallocator | |
| private final RefillPile | |
| private static final VarHandle | |
| private volatile long | |
| private final PreciseLeakDetector | |
| private final LinkedTransferQueue | |
| private final MetricsRecorder | |
| private final RefillPile | |
| private final AtomicInteger | |
| private final BSlot | |
| private volatile boolean | |
| private static final VarHandle | |
| private volatile int | |
| private volatile int |
| Access | Constructor and Description |
|---|---|
| pack-priv | InlineAllocationController(LinkedTransferQueue<BSlot<T>> live, RefillPile<T> disregardPile, RefillPile<T> newAllocations, PoolBuilder<T> builder, BSlot<T> poisonPill)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| pack-priv long | |
| private void | |
| private void | |
| pack-priv long | |
| pack-priv long | getFailedAllocationCount()
Implements abstract stormpot. |
| pack-priv int | |
| private void | |
| pack-priv void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| pack-priv synchronized void | |
| pack-priv synchronized Completion | |
| private boolean | |
| private boolean | |
| private void |
| ALLOC_COUNT | back to summary |
|---|---|
| private static final VarHandle ALLOC_COUNT | |
| allocationCount | back to summary |
|---|---|
private volatile long allocationCount
| |
| allocator | back to summary |
|---|---|
| private final Reallocator<T> allocator | |
| disregardPile | back to summary |
|---|---|
| private final RefillPile<T> disregardPile | |
| FAILED_ALLOC_COUNT | back to summary |
|---|---|
| private static final VarHandle FAILED_ALLOC_COUNT | |
| failedAllocationCount | back to summary |
|---|---|
private volatile long failedAllocationCount
| |
| leakDetector | back to summary |
|---|---|
| private final PreciseLeakDetector leakDetector | |
| live | back to summary |
|---|---|
| private final LinkedTransferQueue<BSlot<T>> live | |
| metricsRecorder | back to summary |
|---|---|
| private final MetricsRecorder metricsRecorder | |
| newAllocations | back to summary |
|---|---|
| private final RefillPile<T> newAllocations | |
| poisonedSlots | back to summary |
|---|---|
| private final AtomicInteger poisonedSlots | |
| poisonPill | back to summary |
|---|---|
| private final BSlot<T> poisonPill | |
| shutdown | back to summary |
|---|---|
| private volatile boolean shutdown | |
| SIZE | back to summary |
|---|---|
| private static final VarHandle SIZE | |
| size | back to summary |
|---|---|
private volatile int size
| |
| targetSize | back to summary |
|---|---|
| private volatile int targetSize | |
| InlineAllocationController | back to summary |
|---|---|
| pack-priv InlineAllocationController(LinkedTransferQueue<BSlot<T>> live, RefillPile<T> disregardPile, RefillPile<T> newAllocations, PoolBuilder<T> builder, BSlot<T> poisonPill) | |
| alloc | back to summary |
|---|---|
| private void alloc(BSlot<T> slot) | |
| allocate | back to summary |
|---|---|
| private void allocate() | |
| changePoolSize | back to summary |
|---|---|
| private void changePoolSize(int targetSize) | |
| countLeakedObjects | back to summary |
|---|---|
| pack-priv long countLeakedObjects() Implements abstract stormpot.
| |
| dealloc | back to summary |
|---|---|
| private void dealloc(BSlot<T> slot) | |
| deallocSlot | back to summary |
|---|---|
| private void deallocSlot(BSlot<T> slot) | |
| getAllocationCount | back to summary |
|---|---|
| pack-priv long getAllocationCount() Implements abstract stormpot.
| |
| getFailedAllocationCount | back to summary |
|---|---|
| pack-priv long getFailedAllocationCount() Implements abstract stormpot.
| |
| getTargetSize | back to summary |
|---|---|
| pack-priv int getTargetSize() Implements abstract stormpot.
| |
| incrementAllocationCounts | back to summary |
|---|---|
| private void incrementAllocationCounts(boolean success) | |
| offerDeadSlot | back to summary |
|---|---|
| pack-priv void offerDeadSlot(BSlot<T> slot) Implements abstract stormpot.
| |
| publishSlot | back to summary |
|---|---|
| private void publishSlot(BSlot<T> slot, boolean success, long now) | |
| realloc | back to summary |
|---|---|
| private void realloc(BSlot<T> slot) | |
| recordObjectLifetimeSample | back to summary |
|---|---|
| private void recordObjectLifetimeSample(long nanoseconds) | |
| registerWithLeakDetector | back to summary |
|---|---|
| private void registerWithLeakDetector(BSlot<T> slot) | |
| resetSlot | back to summary |
|---|---|
| private void resetSlot(BSlot<T> slot, long now) | |
| setTargetSize | back to summary |
|---|---|
| pack-priv synchronized void setTargetSize(int targetSize) Implements abstract stormpot.
| |
| shutdown | back to summary |
|---|---|
| pack-priv synchronized Completion shutdown() Implements abstract stormpot.
| |
| shutdownCompletion | back to summary |
|---|---|
| private boolean shutdownCompletion(Timeout timeout) throws InterruptedException | |
| tryDeallocate | back to summary |
|---|---|
| private boolean tryDeallocate() | |
| unregisterWithLeakDetector | back to summary |
|---|---|
| private void unregisterWithLeakDetector(BSlot<T> slot) | |