public final class UnsafeAccess
extends java.lang.Object
Unsafe
and convenient utility methods for performing low-level, unsafe
operations.
Warning: This class is scheduled for removal in version 3.0.0.
Modifier and Type | Field and Description |
---|---|
static sun.misc.Unsafe |
UNSAFE
The Unsafe instance.
|
Modifier and Type | Method and Description |
---|---|
static long |
objectFieldOffset(java.lang.Class<?> clazz,
java.lang.String fieldName)
Returns the location of a given static field.
|