public final class PinnedAllocatorImpl extends PinnedAllocator
PinnedAllocator.PinnedAllocationLifecycleError| Modifier and Type | Field and Description |
|---|---|
static org.graalvm.word.LocationIdentity |
OPEN_PINNED_ALLOCATOR_IDENTITY
A
LocationIdentity that is accessed when doing pinned allocations. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this PinnedAllocator to further allocation.
|
void |
ensureOpen() |
PinnedAllocator |
open()
A PinnedAllocator can not allocate objects until opened.
|
void |
release()
Release the Objects allocated by this PinnedAllocator.
|
newArray, newInstancepublic static final org.graalvm.word.LocationIdentity OPEN_PINNED_ALLOCATOR_IDENTITY
LocationIdentity that is accessed when doing pinned allocations.public PinnedAllocator open()
PinnedAllocatoropen in class PinnedAllocatorpublic void ensureOpen()
public void close()
PinnedAllocatorclose in interface AutoCloseableclose in class PinnedAllocatorpublic void release()
PinnedAllocatorrelease in class PinnedAllocator