| Modifier and Type | Field and Description |
|---|---|
| private final MemorySessionImpl | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public NativeMemorySegmentImpl | allocate(long byteSize, long byteAlignment)
Implements java. Returns a native memory segment with the given size (in bytes) and alignment constraint (in bytes). |
| public NativeMemorySegmentImpl | |
| public void | |
| public MemorySegment. |
| session | back to summary |
|---|---|
| private final MemorySessionImpl session | |
| shouldReserveMemory | back to summary |
|---|---|
| private final boolean shouldReserveMemory | |
| ArenaImpl | back to summary |
|---|---|
| pack-priv ArenaImpl(MemorySessionImpl session) | |
| allocate | back to summary |
|---|---|
| public NativeMemorySegmentImpl allocate(long byteSize, long byteAlignment) Implements java. Doc from java. Returns a native memory segment with the given size (in bytes) and alignment
constraint (in bytes).
The returned segment is associated with this arena scope.
The segment's
| |
| allocateNoInit | back to summary |
|---|---|
| public NativeMemorySegmentImpl allocateNoInit(long byteSize, long byteAlignment) | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Closes this arena. If this method completes normally, the arena scope is no longer alive, and all the memory segments associated with it can no longer be accessed. Furthermore, any off-heap region of memory backing the segments obtained from this arena are also released.
| |
| scope | back to summary |
|---|---|
| public MemorySegment. Implements java. Doc from java. Returns the arena scope.
| |