# Index

A C F G I J L O P R S T U
All Classes and Interfaces|All Packages|Constant Field Values

## A

ADDRESS_SIZE - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `ValueLayout.ADDRESS`.`MemoryLayout.byteSize()` instead.
addressSize() - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `ValueLayout.ADDRESS`.`MemoryLayout.byteSize()` instead.
allocateInstance(Class<?>) - Method in class sun.misc.Unsafe
  Allocates an instance but does not run any constructor.
allocateMemory(long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to allocate off-heap memory.
ARRAY_BOOLEAN_BASE_OFFSET - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_BOOLEAN_INDEX_SCALE - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_BYTE_BASE_OFFSET - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_BYTE_INDEX_SCALE - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_CHAR_BASE_OFFSET - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_CHAR_INDEX_SCALE - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_DOUBLE_BASE_OFFSET - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_DOUBLE_INDEX_SCALE - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_FLOAT_BASE_OFFSET - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_FLOAT_INDEX_SCALE - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_INT_BASE_OFFSET - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_INT_INDEX_SCALE - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_LONG_BASE_OFFSET - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_LONG_INDEX_SCALE - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_OBJECT_BASE_OFFSET - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_OBJECT_INDEX_SCALE - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_SHORT_BASE_OFFSET - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
ARRAY_SHORT_INDEX_SCALE - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
arrayBaseOffset(Class<?>) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
arrayIndexScale(Class<?>) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.

## C

compareAndSwapInt(Object, long, int, int) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.compareAndExchange(Object...)` instead.
compareAndSwapLong(Object, long, long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.compareAndExchange(Object...)` instead.
compareAndSwapObject(Object, long, Object, Object) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.compareAndExchange(Object...)` instead.
copyMemory(long, long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `MemorySegment` and its bulk copy methods instead.
copyMemory(Object, long, Object, long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `MemorySegment` and its bulk copy methods instead.

## F

freeMemory(long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to allocate and free off-heap memory.
fullFence() - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.fullFence()` instead.

## G

getAddress(long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
getAndAddInt(Object, long, int) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getAndAdd(Object...)` instead.
getAndAddLong(Object, long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getAndAdd(Object...)` instead.
getAndSetInt(Object, long, int) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getAndAdd(Object...)` instead.
getAndSetLong(Object, long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getAndAdd(Object...)` instead.
getAndSetObject(Object, long, Object) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getAndAdd(Object...)` instead.
getBoolean(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.get(Object...)` or `MemorySegment.get(ValueLayout.OfBoolean, long)` instead.
getBooleanVolatile(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getVolatile(Object...)` instead.
getByte(long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
getByte(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.get(Object...)` or `MemorySegment.get(ValueLayout.OfByte, long)` instead.
getByteVolatile(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getVolatile(Object...)` instead.
getChar(long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
getChar(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.get(Object...)` or `MemorySegment.get(ValueLayout.OfChar, long)` instead.
getCharVolatile(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getVolatile(Object...)` instead.
getDouble(long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
getDouble(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.get(Object...)` or `MemorySegment.get(ValueLayout.OfDouble, long)` instead.
getDoubleVolatile(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getVolatile(Object...)` instead.
getFloat(long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
getFloat(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.get(Object...)` or `MemorySegment.get(ValueLayout.OfFloat, long)` instead.
getFloatVolatile(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getVolatile(Object...)` instead.
getInt(long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
getInt(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.get(Object...)` or `MemorySegment.get(ValueLayout.OfInt, long)` instead.
getIntVolatile(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getVolatile(Object...)` instead.
getLoadAverage(double[], int) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use
  invalid reference

      java.management/java.lang.management.OperatingSystemMXBean#getSystemLoadAverage()

  instead.
getLong(long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
getLong(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.get(Object...)` or `MemorySegment.get(ValueLayout.OfLong, long)` instead.
getLongVolatile(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getVolatile(Object...)` instead.
getObject(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.get(Object...)` instead.
getObjectVolatile(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getVolatile(Object...)` instead.
getShort(long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
getShort(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.get(Object...)` or `MemorySegment.get(ValueLayout.OfShort, long)` instead.
getShortVolatile(Object, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.getVolatile(Object...)` instead.
getUnsafe() - Static method in class sun.misc.Unsafe
  Provides the caller with the capability of performing unsafe operations.

## I

INVALID_FIELD_OFFSET - Static variable in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Not needed when using `VarHandle` or `java.lang.foreign`.
invokeCleaner(ByteBuffer) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use a `MemorySegment` allocated in an `Arena` with the appropriate temporal bounds. The `MemorySegment.asByteBuffer()` method wraps a memory segment as a `ByteBuffer` to allow interop with existing code.

## J

jdk.unsupported - module jdk.unsupported

## L

loadFence() - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.acquireFence()` instead.

## O

objectFieldOffset(Field) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  The guarantee that a field will always have the same offset and base may not be true in a future release. The ability to provide an offset and object reference to a heap memory accessor will be removed in a future release. Use `VarHandle` instead.

## P

pageSize() - Method in class sun.misc.Unsafe
  Reports the size in bytes of a native memory page (whatever that is).
park(boolean, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `LockSupport.parkNanos(long)` or `LockSupport.parkUntil(long)` instead.
putAddress(long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
putBoolean(Object, long, boolean) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.set(Object...)` or `MemorySegment.set(ValueLayout.OfBoolean, long, boolean)` instead.
putBooleanVolatile(Object, long, boolean) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setVolatile(Object...)` instead.
putByte(long, byte) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
putByte(Object, long, byte) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.set(Object...)` or `MemorySegment.set(ValueLayout.OfByte, long, byte)` instead.
putByteVolatile(Object, long, byte) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setVolatile(Object...)` instead.
putChar(long, char) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
putChar(Object, long, char) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.set(Object...)` or `MemorySegment.set(ValueLayout.OfChar, long, char)` instead.
putCharVolatile(Object, long, char) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setVolatile(Object...)` instead.
putDouble(long, double) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
putDouble(Object, long, double) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.set(Object...)` or `MemorySegment.set(ValueLayout.OfDouble, long, double)` instead.
putDoubleVolatile(Object, long, double) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setVolatile(Object...)` instead.
putFloat(long, float) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
putFloat(Object, long, float) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.set(Object...)` or `MemorySegment.set(ValueLayout.OfFloat, long, float)` instead.
putFloatVolatile(Object, long, float) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setVolatile(Object...)` instead.
putInt(long, int) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
putInt(Object, long, int) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.set(Object...)` or `MemorySegment.set(ValueLayout.OfInt, long, int)` instead.
putIntVolatile(Object, long, int) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setVolatile(Object...)` instead.
putLong(long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
putLong(Object, long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.set(Object...)` or `MemorySegment.set(ValueLayout.OfLong, long, long)` instead.
putLongVolatile(Object, long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setVolatile(Object...)` instead.
putObject(Object, long, Object) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.set(Object...)` instead.
putObjectVolatile(Object, long, Object) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setVolatile(Object...)` instead.
putOrderedInt(Object, long, int) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setRelease(Object...)` instead.
putOrderedLong(Object, long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setRelease(Object...)` instead.
putOrderedObject(Object, long, Object) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setRelease(Object...)` instead.
putShort(long, short) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to access off-heap memory.
putShort(Object, long, short) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.set(Object...)` or `MemorySegment.set(ValueLayout.OfShort, long, short)` instead.
putShortVolatile(Object, long, short) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.setVolatile(Object...)` instead.

## R

reallocateMemory(long, long) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `java.lang.foreign` to allocate off-heap memory.

## S

setMemory(long, long, byte) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  `MemorySegment.fill(byte)` fills the contents of a memory segment with a given value. Use `MemorySegment` and its bulk copy methods instead.
setMemory(Object, long, long, byte) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  `MemorySegment.fill(byte)` fills the contents of a memory segment with a given value.
staticFieldBase(Field) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  The guarantee that a field will always have the same offset and base may not be true in a future release. The ability to provide an offset and object reference to a heap memory accessor will be removed in a future release. Use `VarHandle` instead.
staticFieldOffset(Field) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  The guarantee that a field will always have the same offset and base may not be true in a future release. The ability to provide an offset and object reference to a heap memory accessor will be removed in a future release. Use `VarHandle` instead.
storeFence() - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `VarHandle.releaseFence()` instead.
sun.misc - package sun.misc

## T

throwException(Throwable) - Method in class sun.misc.Unsafe
  Throws the exception without telling the verifier.

## U

unpark(Object) - Method in class sun.misc.Unsafe
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use `LockSupport.unpark(Thread)` instead.
Unsafe - Class in sun.misc
  A collection of methods for performing low-level, unsafe operations.

A C F G I J L O P R S T U
All Classes and Interfaces|All Packages|Constant Field Values