Gets the offset from the start of an array object's memory to the memory used to store its initial (zeroeth) element.
Gets the offset from the start of an array object's memory to the memory used to store its initial (zeroeth) element.
non-null; class in question; must be an array class
the offset to the initial element
Gets the size of each element of the given array class.
Gets the size of each element of the given array class.
non-null; class in question; must be an array class
> 0; the size of each element of the array
Performs a compare-and-set operation on an int
field within the given object.
Performs a compare-and-set operation on an int
field within the given object.
non-null; object containing the field
offset to the field within obj
expected value of the field
new value to store in the field if the contents are as expected
true
if the new value was in fact stored, false
otherwise
Performs a compare-and-set operation on an long
field within the given object.
Performs a compare-and-set operation on an long
field within the given object.
non-null; object containing the field
offset to the field within obj
expected value of the field
new value to store in the field if the contents are as expected
true
if the new value was in fact stored, false
otherwise
Performs a compare-and-set operation on an AnyRef
field (that is, a reference field) within the given object.
Performs a compare-and-set operation on an AnyRef
field (that is, a reference field) within the given object.
non-null; object containing the field
offset to the field within obj
expected value of the field
new value to store in the field if the contents are as expected
true
if the new value was in fact stored, false
otherwise
Gets an Int
field from the given object,
using volatile
semantics.
Gets an Int
field from the given object,
using volatile
semantics.
non-null; object containing the field
offset to the field within obj
the retrieved value
Gets a long
field from the given object.
Gets a long
field from the given object.
non-null; object containing the field
offset to the field within obj
the retrieved value
Gets a Long
field from the given object,
using volatile
semantics.
Gets a Long
field from the given object,
using volatile
semantics.
non-null; object containing the field
offset to the field within obj
the retrieved value
Gets an object field from the given object.
Gets an object field from the given object.
non-null; object containing the field
offset to the field within obj
the retrieved value
Gets an AnyRef
field from the given object,
using volatile
semantics.
Gets an AnyRef
field from the given object,
using volatile
semantics.
non-null; object containing the field
offset to the field within obj
the retrieved value
Gets the raw byte offset from the start of an object's memory to the memory used to store the indicated instance field.
Gets the raw byte offset from the start of an object's memory to the memory used to store the indicated instance field.
non-null; the field in question, which must be an instance field
the offset to the field
Parks the calling thread for the specified amount of time, unless the "permit" for the thread is already available (due to a previous call to unpark.
Parks the calling thread for the specified amount of time, unless the "permit" for the thread is already available (due to a previous call to unpark. This method may also return spuriously (that is, without the thread being told to unpark and without the indicated amount of time elapsing).
whether the given time value is absolute
milliseconds-since-the-epoch (true
) or relative
nanoseconds-from-now (false
)
the (absolute millis or relative nanos) time value
Stores an Int
field into the given object,
using volatile
semantics.
Stores an Int
field into the given object,
using volatile
semantics.
non-null; object containing the field
offset to the field within obj
the value to store
Stores a long
field into the given object.
Stores a long
field into the given object.
non-null; object containing the field
offset to the field within obj
the value to store
Stores an Long
field into the given object,
using volatile
semantics.
Stores an Long
field into the given object,
using volatile
semantics.
non-null; object containing the field
offset to the field within obj
the value to store
Stores a object
field into the given object.
Stores a object
field into the given object.
non-null; object containing the field
offset to the field within obj
the value to store
Stores an AnyRef
field into the given object,
using volatile
semantics.
Stores an AnyRef
field into the given object,
using volatile
semantics.
non-null; object containing the field
offset to the field within obj
the value to store
Lazy set an Int field.
Lazy set a Long field.
Lazy set an AnyRef field.
Report the location of a given static field, in conjunction with staticFieldOffset.
Report the location of a given static field, in conjunction with staticFieldOffset.
Fetch the base "Object", if any, with which static fields of the given class can be accessed via methods like getIntVolatile. This value may be null. This value may refer to an object which is a "cookie", not guaranteed to be a real Object, and it should not be used in any way except as argument to the get and put routines in this class.
Gets the raw byte offset from the start of an object's memory to the memory used to store the indicated static field.
Gets the raw byte offset from the start of an object's memory to the memory used to store the indicated static field.
non-null; the field in question, which must be a static field
the offset to the field
Unparks the given object, which must be a Thread
.
Unparks the given object, which must be a Thread
.
See java.util.concurrent.locks.LockSupport
for more
in-depth information of the behavior of this method.
non-null; the thread to unpark
The quasi-standard way for Java code to gain access to and use functionality which, when unsupervised, would allow one to break the pointer/type safety of Java.