PlatformDependent operations which requires access to sun.misc.*.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private static final Method | |
| private static final Method | |
| private static final long | |
| private static final long | |
| private static final Constructor | |
| private static final Throwable | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final long | |
| private static final long | |
| private static final Object | |
| private static final boolean | |
| private static final boolean | |
| private static final int | |
| private static final InternalLogger | |
| private static final long | |
| private static final long | |
| private static final boolean | |
| private static final boolean | |
| private static final boolean | |
| pack-priv static final Unsafe | |
| private static final long | UNSAFE_COPY_THRESHOLD
Limits the number of bytes to copy per |
| private static final Throwable |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | |
| pack-priv static ByteBuffer | |
| pack-priv static ByteBuffer | |
| pack-priv static long | |
| pack-priv static byte[] | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static void | |
| pack-priv static void | |
| private static void | |
| private static void | |
| pack-priv static long | |
| pack-priv static boolean | |
| pack-priv static int | |
| private static Throwable | |
| private static boolean | |
| pack-priv static void | |
| pack-priv static byte | |
| pack-priv static byte | |
| pack-priv static byte | |
| pack-priv static ClassLoader | |
| pack-priv static ClassLoader | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| private static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static Object | |
| pack-priv static short | |
| pack-priv static short | |
| pack-priv static ClassLoader | |
| pack-priv static Throwable | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| private static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static int | |
| private static int | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static ByteBuffer | |
| pack-priv static long | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static ByteBuffer | |
| pack-priv static long | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static boolean | |
| private static boolean |
| ADDRESS_FIELD_OFFSET | back to summary |
|---|---|
| private static final long ADDRESS_FIELD_OFFSET | |
| ALIGN_SLICE | back to summary |
|---|---|
| private static final Method ALIGN_SLICE | |
| ALLOCATE_ARRAY_METHOD | back to summary |
|---|---|
| private static final Method ALLOCATE_ARRAY_METHOD | |
| BITS_MAX_DIRECT_MEMORY | back to summary |
|---|---|
| private static final long BITS_MAX_DIRECT_MEMORY | |
| BYTE_ARRAY_BASE_OFFSET | back to summary |
|---|---|
| private static final long BYTE_ARRAY_BASE_OFFSET | |
| DIRECT_BUFFER_CONSTRUCTOR | back to summary |
|---|---|
| private static final Constructor<?> DIRECT_BUFFER_CONSTRUCTOR | |
| EXPLICIT_NO_UNSAFE_CAUSE | back to summary |
|---|---|
| private static final Throwable EXPLICIT_NO_UNSAFE_CAUSE | |
| HASH_CODE_ASCII_SEED | back to summary |
|---|---|
| pack-priv static final int HASH_CODE_ASCII_SEED | |
| HASH_CODE_C1 | back to summary |
|---|---|
| pack-priv static final int HASH_CODE_C1 | |
| HASH_CODE_C2 | back to summary |
|---|---|
| pack-priv static final int HASH_CODE_C2 | |
| INT_ARRAY_BASE_OFFSET | back to summary |
|---|---|
| private static final long INT_ARRAY_BASE_OFFSET | |
| INT_ARRAY_INDEX_SCALE | back to summary |
|---|---|
| private static final long INT_ARRAY_INDEX_SCALE | |
| INTERNAL_UNSAFE | back to summary |
|---|---|
| private static final Object INTERNAL_UNSAFE | |
| IS_ANDROID | back to summary |
|---|---|
| private static final boolean IS_ANDROID | |
| IS_EXPLICIT_TRY_REFLECTION_SET_ACCESSIBLE | back to summary |
|---|---|
| private static final boolean IS_EXPLICIT_TRY_REFLECTION_SET_ACCESSIBLE | |
| JAVA_VERSION | back to summary |
|---|---|
| private static final int JAVA_VERSION | |
| logger | back to summary |
|---|---|
| private static final InternalLogger logger | |
| LONG_ARRAY_BASE_OFFSET | back to summary |
|---|---|
| private static final long LONG_ARRAY_BASE_OFFSET | |
| LONG_ARRAY_INDEX_SCALE | back to summary |
|---|---|
| private static final long LONG_ARRAY_INDEX_SCALE | |
| RUNNING_IN_NATIVE_IMAGE | back to summary |
|---|---|
| private static final boolean RUNNING_IN_NATIVE_IMAGE | |
| STORE_FENCE_AVAILABLE | back to summary |
|---|---|
| private static final boolean STORE_FENCE_AVAILABLE | |
| UNALIGNED | back to summary |
|---|---|
| private static final boolean UNALIGNED | |
| UNSAFE | back to summary |
|---|---|
| pack-priv static final Unsafe UNSAFE | |
| UNSAFE_COPY_THRESHOLD | back to summary |
|---|---|
| private static final long UNSAFE_COPY_THRESHOLD Limits the number of bytes to copy per | |
| UNSAFE_UNAVAILABILITY_CAUSE | back to summary |
|---|---|
| private static final Throwable UNSAFE_UNAVAILABILITY_CAUSE | |
| PlatformDependent0 | back to summary |
|---|---|
| private PlatformDependent0() | |
| addressSize | back to summary |
|---|---|
| pack-priv static int addressSize() | |
| alignSlice | back to summary |
|---|---|
| pack-priv static ByteBuffer alignSlice(ByteBuffer buffer, int alignment) | |
| allocateDirectNoCleaner | back to summary |
|---|---|
| pack-priv static ByteBuffer allocateDirectNoCleaner(int capacity) | |
| allocateMemory | back to summary |
|---|---|
| pack-priv static long allocateMemory(long size) | |
| allocateUninitializedArray | back to summary |
|---|---|
| pack-priv static byte[] allocateUninitializedArray(int size) | |
| bitsMaxDirectMemory | back to summary |
|---|---|
| pack-priv static long bitsMaxDirectMemory() Any value >= 0 should be considered as a valid max direct memory value. | |
| byteArrayBaseOffset | back to summary |
|---|---|
| pack-priv static long byteArrayBaseOffset() | |
| copyMemory | back to summary |
|---|---|
| pack-priv static void copyMemory(long srcAddr, long dstAddr, long length) | |
| copyMemory | back to summary |
|---|---|
| pack-priv static void copyMemory(Object src, long srcOffset, Object dst, long dstOffset, long length) | |
| copyMemoryWithSafePointPolling | back to summary |
|---|---|
| private static void copyMemoryWithSafePointPolling(long srcAddr, long dstAddr, long length) | |
| copyMemoryWithSafePointPolling | back to summary |
|---|---|
| private static void copyMemoryWithSafePointPolling(Object src, long srcOffset, Object dst, long dstOffset, long length) | |
| directBufferAddress | back to summary |
|---|---|
| pack-priv static long directBufferAddress(ByteBuffer buffer) | |
| equals | back to summary |
|---|---|
| pack-priv static boolean equals(byte[] bytes1, int startPos1, byte[] bytes2, int startPos2, int length) | |
| equalsConstantTime | back to summary |
|---|---|
| pack-priv static int equalsConstantTime(byte[] bytes1, int startPos1, byte[] bytes2, int startPos2, int length) | |
| explicitNoUnsafeCause0 | back to summary |
|---|---|
| private static Throwable explicitNoUnsafeCause0() | |
| explicitTryReflectionSetAccessible0 | back to summary |
|---|---|
| private static boolean explicitTryReflectionSetAccessible0() | |
| freeMemory | back to summary |
|---|---|
| pack-priv static void freeMemory(long address) | |
| getByte | back to summary |
|---|---|
| pack-priv static byte getByte(long address) | |
| getByte | back to summary |
|---|---|
| pack-priv static byte getByte(byte[] data, int index) | |
| getByte | back to summary |
|---|---|
| pack-priv static byte getByte(byte[] data, long index) | |
| getClassLoader | back to summary |
|---|---|
| pack-priv static ClassLoader getClassLoader(final Class<?> clazz) | |
| getContextClassLoader | back to summary |
|---|---|
| pack-priv static ClassLoader getContextClassLoader() | |
| getInt | back to summary |
|---|---|
| pack-priv static int getInt(Object object, long fieldOffset) | |
| getInt | back to summary |
|---|---|
| pack-priv static int getInt(long address) | |
| getInt | back to summary |
|---|---|
| pack-priv static int getInt(byte[] data, int index) | |
| getInt | back to summary |
|---|---|
| pack-priv static int getInt(int[] data, long index) | |
| getIntVolatile | back to summary |
|---|---|
| pack-priv static int getIntVolatile(long address) | |
| getLong | back to summary |
|---|---|
| private static long getLong(Object object, long fieldOffset) | |
| getLong | back to summary |
|---|---|
| pack-priv static long getLong(long address) | |
| getLong | back to summary |
|---|---|
| pack-priv static long getLong(byte[] data, int index) | |
| getLong | back to summary |
|---|---|
| pack-priv static long getLong(long[] data, long index) | |
| getObject | back to summary |
|---|---|
| pack-priv static Object getObject(Object object, long fieldOffset) | |
| getShort | back to summary |
|---|---|
| pack-priv static short getShort(long address) | |
| getShort | back to summary |
|---|---|
| pack-priv static short getShort(byte[] data, int index) | |
| getSystemClassLoader | back to summary |
|---|---|
| pack-priv static ClassLoader getSystemClassLoader() | |
| getUnsafeUnavailabilityCause | back to summary |
|---|---|
| pack-priv static Throwable getUnsafeUnavailabilityCause() | |
| hasAlignSliceMethod | back to summary |
|---|---|
| pack-priv static boolean hasAlignSliceMethod() | |
| hasAllocateArrayMethod | back to summary |
|---|---|
| pack-priv static boolean hasAllocateArrayMethod() | |
| hasDirectBufferNoCleanerConstructor | back to summary |
|---|---|
| pack-priv static boolean hasDirectBufferNoCleanerConstructor() | |
| hashCodeAscii | back to summary |
|---|---|
| pack-priv static int hashCodeAscii(byte[] bytes, int startPos, int length) | |
| hashCodeAsciiCompute | back to summary |
|---|---|
| pack-priv static int hashCodeAsciiCompute(long value, int hash) | |
| hashCodeAsciiSanitize | back to summary |
|---|---|
| pack-priv static int hashCodeAsciiSanitize(int value) | |
| hashCodeAsciiSanitize | back to summary |
|---|---|
| pack-priv static int hashCodeAsciiSanitize(short value) | |
| hashCodeAsciiSanitize | back to summary |
|---|---|
| pack-priv static int hashCodeAsciiSanitize(byte value) | |
| hasUnsafe | back to summary |
|---|---|
| pack-priv static boolean hasUnsafe() | |
| isAndroid | back to summary |
|---|---|
| pack-priv static boolean isAndroid() | |
| isAndroid0 | back to summary |
|---|---|
| private static boolean isAndroid0() | |
| isExplicitNoUnsafe | back to summary |
|---|---|
| pack-priv static boolean isExplicitNoUnsafe() | |
| isExplicitTryReflectionSetAccessible | back to summary |
|---|---|
| pack-priv static boolean isExplicitTryReflectionSetAccessible() | |
| isUnaligned | back to summary |
|---|---|
| pack-priv static boolean isUnaligned() | |
| isZero | back to summary |
|---|---|
| pack-priv static boolean isZero(byte[] bytes, int startPos, int length) | |
| javaVersion | back to summary |
|---|---|
| pack-priv static int javaVersion() | |
| javaVersion0 | back to summary |
|---|---|
| private static int javaVersion0() | |
| majorVersion | back to summary |
|---|---|
| pack-priv static int majorVersion(final String javaSpecVersion) | |
| majorVersionFromJavaSpecificationVersion | back to summary |
|---|---|
| pack-priv static int majorVersionFromJavaSpecificationVersion() | |
| newDirectBuffer | back to summary |
|---|---|
| pack-priv static ByteBuffer newDirectBuffer(long address, int capacity) | |
| objectFieldOffset | back to summary |
|---|---|
| pack-priv static long objectFieldOffset(Field field) | |
| putByte | back to summary |
|---|---|
| pack-priv static void putByte(long address, byte value) | |
| putByte | back to summary |
|---|---|
| pack-priv static void putByte(byte[] data, int index, byte value) | |
| putByte | back to summary |
|---|---|
| pack-priv static void putByte(Object data, long offset, byte value) | |
| putInt | back to summary |
|---|---|
| pack-priv static void putInt(long address, int value) | |
| putInt | back to summary |
|---|---|
| pack-priv static void putInt(byte[] data, int index, int value) | |
| putIntOrdered | back to summary |
|---|---|
| pack-priv static void putIntOrdered(long adddress, int newValue) | |
| putLong | back to summary |
|---|---|
| pack-priv static void putLong(long address, long value) | |
| putLong | back to summary |
|---|---|
| pack-priv static void putLong(byte[] data, int index, long value) | |
| putObject | back to summary |
|---|---|
| pack-priv static void putObject(Object o, long offset, Object x) | |
| putShort | back to summary |
|---|---|
| pack-priv static void putShort(long address, short value) | |
| putShort | back to summary |
|---|---|
| pack-priv static void putShort(byte[] data, int index, short value) | |
| reallocateDirectNoCleaner | back to summary |
|---|---|
| pack-priv static ByteBuffer reallocateDirectNoCleaner(ByteBuffer buffer, int capacity) | |
| reallocateMemory | back to summary |
|---|---|
| pack-priv static long reallocateMemory(long address, long newSize) | |
| safeConstructPutInt | back to summary |
|---|---|
| pack-priv static void safeConstructPutInt(Object object, long fieldOffset, int value) | |
| setMemory | back to summary |
|---|---|
| pack-priv static void setMemory(long address, long bytes, byte value) | |
| setMemory | back to summary |
|---|---|
| pack-priv static void setMemory(Object o, long offset, long bytes, byte value) | |
| throwException | back to summary |
|---|---|
| pack-priv static void throwException(Throwable cause) | |
| unalignedAccess | back to summary |
|---|---|
| pack-priv static boolean unalignedAccess() | |
| unsafeStaticFieldOffsetSupported | back to summary |
|---|---|
| private static boolean unsafeStaticFieldOffsetSupported() | |