public final class UnsafeAllocationManager extends AllocationManager
AllocationManager.Factory
Modifier and Type | Field and Description |
---|---|
static AllocationManager.Factory |
FACTORY |
Modifier and Type | Method and Description |
---|---|
long |
getSize()
Return the size of underlying chunk of memory managed by this Allocation Manager.
|
protected long |
memoryAddress()
Return the absolute memory address pointing to the fist byte of underlying memory chunk.
|
protected void |
release0()
Release the underlying memory chunk.
|
public static final AllocationManager.Factory FACTORY
public long getSize()
AllocationManager
The underlying memory chunk managed can be different from the original requested size.
getSize
in class AllocationManager
protected long memoryAddress()
AllocationManager
memoryAddress
in class AllocationManager
protected void release0()
AllocationManager
release0
in class AllocationManager
Copyright © 2023 The Apache Software Foundation. All rights reserved.