MemorySegment is always initialized first).
See SegmentFactories#ensureInitialized().
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private static final Unsafe |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static long | |
| private static long | allocateNativeInternal(long byteSize, long byteAlignment, MemorySessionImpl sessionImpl, boolean shouldReserve, boolean init)
|
| public static NativeMemorySegmentImpl | allocateNativeSegment(long byteSize, long byteAlignment, MemorySessionImpl sessionImpl, boolean shouldReserve, boolean init)
|
| public static HeapMemorySegmentImpl. | arrayOfByteSegment(Object base, long offset, long length, boolean readOnly, MemorySessionImpl bufferScope)
|
| public static HeapMemorySegmentImpl. | arrayOfCharSegment(Object base, long offset, long length, boolean readOnly, MemorySessionImpl bufferScope)
|
| public static HeapMemorySegmentImpl. | arrayOfDoubleSegment(Object base, long offset, long length, boolean readOnly, MemorySessionImpl bufferScope)
|
| public static HeapMemorySegmentImpl. | arrayOfFloatSegment(Object base, long offset, long length, boolean readOnly, MemorySessionImpl bufferScope)
|
| public static HeapMemorySegmentImpl. | arrayOfIntSegment(Object base, long offset, long length, boolean readOnly, MemorySessionImpl bufferScope)
|
| public static HeapMemorySegmentImpl. | arrayOfLongSegment(Object base, long offset, long length, boolean readOnly, MemorySessionImpl bufferScope)
|
| public static HeapMemorySegmentImpl. | arrayOfShortSegment(Object base, long offset, long length, boolean readOnly, MemorySessionImpl bufferScope)
|
| private static void | |
| public static HeapMemorySegmentImpl. | |
| public static HeapMemorySegmentImpl. | |
| public static HeapMemorySegmentImpl. | |
| public static HeapMemorySegmentImpl. | |
| public static HeapMemorySegmentImpl. | |
| public static HeapMemorySegmentImpl. | |
| public static HeapMemorySegmentImpl. | |
| private static void | |
| public static NativeMemorySegmentImpl | makeNativeSegmentUnchecked(long min, long byteSize, MemorySessionImpl sessionImpl, boolean readOnly, Runnable action)
|
| public static NativeMemorySegmentImpl | |
| public static NativeMemorySegmentImpl | |
| public static MappedMemorySegmentImpl |
| MAX_MALLOC_ALIGN | back to summary |
|---|---|
| private static final long MAX_MALLOC_ALIGN | |
| UNSAFE | back to summary |
|---|---|
| private static final Unsafe UNSAFE | |
| SegmentFactories | back to summary |
|---|---|
| public SegmentFactories() | |
| allocateMemoryWrapper | back to summary |
|---|---|
| private static long allocateMemoryWrapper(long size) | |
| allocateNativeInternal | back to summary |
|---|---|
| private static long allocateNativeInternal(long byteSize, long byteAlignment, MemorySessionImpl sessionImpl, boolean shouldReserve, boolean init) | |
| allocateNativeSegment | back to summary |
|---|---|
| public static NativeMemorySegmentImpl allocateNativeSegment(long byteSize, long byteAlignment, MemorySessionImpl sessionImpl, boolean shouldReserve, boolean init) | |
| arrayOfByteSegment | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| arrayOfCharSegment | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| arrayOfDoubleSegment | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| arrayOfFloatSegment | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| arrayOfIntSegment | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| arrayOfLongSegment | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| arrayOfShortSegment | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| ensureInitialized | back to summary |
|---|---|
private static void ensureInitialized()
| |
| fromArray | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| fromArray | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| fromArray | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| fromArray | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| fromArray | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| fromArray | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| fromArray | back to summary |
|---|---|
| public static HeapMemorySegmentImpl. | |
| initNativeMemory | back to summary |
|---|---|
| private static void initNativeMemory(long address, long byteSize) | |
| makeNativeSegmentUnchecked | back to summary |
|---|---|
public static NativeMemorySegmentImpl makeNativeSegmentUnchecked(long min, long byteSize, MemorySessionImpl sessionImpl, boolean readOnly, Runnable action)
| |
| makeNativeSegmentUnchecked | back to summary |
|---|---|
public static NativeMemorySegmentImpl makeNativeSegmentUnchecked(long min, long byteSize, MemorySessionImpl sessionImpl)
| |
| makeNativeSegmentUnchecked | back to summary |
|---|---|
public static NativeMemorySegmentImpl makeNativeSegmentUnchecked(long min, long byteSize)
| |
| mapSegment | back to summary |
|---|---|
| public static MappedMemorySegmentImpl mapSegment(long size, UnmapperProxy unmapper, boolean readOnly, MemorySessionImpl sessionImpl) | |