Modifier and Type | Field and Description |
---|---|
static boolean |
BOOLEAN_BULK_COPY_SUPPORTED
true if the garbage collector does not support the bulk copy operation |
static boolean |
BYTE_BULK_COPY_SUPPORTED
true if the garbage collector does not support the bulk copy operation |
static boolean |
CHAR_BULK_COPY_SUPPORTED
true if the garbage collector does not support the bulk copy operation |
static boolean |
DOUBLE_BULK_COPY_SUPPORTED
true if the garbage collector supports the bulk copy operation |
static boolean |
FLOAT_BULK_COPY_SUPPORTED
true if the garbage collector supports the bulk copy operation |
static boolean |
INT_BULK_COPY_SUPPORTED
true if the garbage collector does not support the bulk copy operation |
static boolean |
LONG_BULK_COPY_SUPPORTED
true if the garbage collector supports the bulk copy operation |
private static boolean |
NEEDS_ADDRESS_GC_READ_BARRIER
true if the garbage collector requires read barriers on Address getfield or arrayload |
private static boolean |
NEEDS_ADDRESS_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on Address putfield, arraystore or modifycheck |
static boolean |
NEEDS_ADDRESS_GETFIELD_BARRIER
true if the VM requires read barriers on Address getfield |
static boolean |
NEEDS_ADDRESS_PUTFIELD_BARRIER
true if the VM requires write barriers on Address putfield |
static boolean |
NEEDS_BOOLEAN_ALOAD_BARRIER
true if the VM requires read barriers on boolean arrayload |
static boolean |
NEEDS_BOOLEAN_ASTORE_BARRIER
true if the VM requires write barriers on boolean arraystore |
private static boolean |
NEEDS_BOOLEAN_GC_READ_BARRIER
true if the garbage collector requires read barriers on boolean getfield or arrayload |
private static boolean |
NEEDS_BOOLEAN_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on boolean putfield, arraystore or modifycheck |
static boolean |
NEEDS_BOOLEAN_GETFIELD_BARRIER
true if the VM requires read barriers on boolean getfield |
static boolean |
NEEDS_BOOLEAN_PUTFIELD_BARRIER
true if the VM requires write barriers on boolean putfield |
static boolean |
NEEDS_BYTE_ALOAD_BARRIER
true if the VM requires read barriers on byte arrayload |
static boolean |
NEEDS_BYTE_ASTORE_BARRIER
true if the VM requires write barriers on byte arraystore |
private static boolean |
NEEDS_BYTE_GC_READ_BARRIER
true if the garbage collector requires read barriers on byte getfield or arrayload |
private static boolean |
NEEDS_BYTE_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on byte putfield, arraystore or modifycheck |
static boolean |
NEEDS_BYTE_GETFIELD_BARRIER
true if the VM requires read barriers on byte getfield |
static boolean |
NEEDS_BYTE_PUTFIELD_BARRIER
true if the VM requires write barriers on byte putfield |
static boolean |
NEEDS_CHAR_ALOAD_BARRIER
true if the VM requires read barriers on char arrayload |
static boolean |
NEEDS_CHAR_ASTORE_BARRIER
true if the VM requires write barriers on char arraystore |
private static boolean |
NEEDS_CHAR_GC_READ_BARRIER
true if the garbage collector requires read barriers on char getfield or arrayload |
private static boolean |
NEEDS_CHAR_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on char putfield, arraystore or modifycheck |
static boolean |
NEEDS_CHAR_GETFIELD_BARRIER
true if the VM requires read barriers on char getfield |
static boolean |
NEEDS_CHAR_PUTFIELD_BARRIER
true if the VM requires write barriers on char putfield |
static boolean |
NEEDS_DOUBLE_ALOAD_BARRIER
true if the VM requires read barriers on double arrayload |
static boolean |
NEEDS_DOUBLE_ASTORE_BARRIER
true if the VM requires write barriers on double arraystore |
private static boolean |
NEEDS_DOUBLE_GC_READ_BARRIER
true if the garbage collector requires read barriers on double getfield or arrayload |
private static boolean |
NEEDS_DOUBLE_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on double putfield, arraystore or modifycheck |
static boolean |
NEEDS_DOUBLE_GETFIELD_BARRIER
true if the VM requires read barriers on double getfield |
static boolean |
NEEDS_DOUBLE_PUTFIELD_BARRIER
true if the VM requires write barriers on double putfield |
private static boolean |
NEEDS_EXTENT_GC_READ_BARRIER
true if the garbage collector requires read barriers on Extent getfield or arrayload |
private static boolean |
NEEDS_EXTENT_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on Extent putfield, arraystore or modifycheck |
static boolean |
NEEDS_EXTENT_GETFIELD_BARRIER
true if the VM requires read barriers on Extent getfield |
static boolean |
NEEDS_EXTENT_PUTFIELD_BARRIER
true if the VM requires write barriers on Extent putfield |
static boolean |
NEEDS_FLOAT_ALOAD_BARRIER
true if the VM requires read barriers on float arrayload |
static boolean |
NEEDS_FLOAT_ASTORE_BARRIER
true if the VM requires write barriers on float arraystore |
private static boolean |
NEEDS_FLOAT_GC_READ_BARRIER
true if the garbage collector requires read barriers on float getfield or arrayload |
private static boolean |
NEEDS_FLOAT_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on float putfield, arraystore or modifycheck |
static boolean |
NEEDS_FLOAT_GETFIELD_BARRIER
true if the VM requires read barriers on float getfield |
static boolean |
NEEDS_FLOAT_PUTFIELD_BARRIER
true if the VM requires write barriers on float putfield |
static boolean |
NEEDS_INT_ALOAD_BARRIER
true if the VM requires read barriers on int arrayload |
static boolean |
NEEDS_INT_ASTORE_BARRIER
true if the VM requires write barriers on int arraystore |
private static boolean |
NEEDS_INT_GC_READ_BARRIER
true if the garbage collector requires read barriers on int getfield or arrayload |
private static boolean |
NEEDS_INT_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on int putfield, arraystore or modifycheck |
static boolean |
NEEDS_INT_GETFIELD_BARRIER
true if the VM requires read barriers on int getfield |
static boolean |
NEEDS_INT_PUTFIELD_BARRIER
true if the VM requires write barriers on int putfield |
private static boolean |
NEEDS_JAVA_LANG_REFERENCE_GC_READ_BARRIER
true if the selected plan requires a read barrier on java.lang.ref.Reference types |
static boolean |
NEEDS_JAVA_LANG_REFERENCE_READ_BARRIER
true if the selected plan requires a read barrier on java.lang.ref.Reference types |
static boolean |
NEEDS_LONG_ALOAD_BARRIER
true if the VM requires read barriers on long arrayload |
static boolean |
NEEDS_LONG_ASTORE_BARRIER
true if the VM requires write barriers on long arraystore |
private static boolean |
NEEDS_LONG_GC_READ_BARRIER
true if the garbage collector requires read barriers on long getfield or arrayload |
private static boolean |
NEEDS_LONG_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on long putfield, arraystore or modifycheck |
static boolean |
NEEDS_LONG_GETFIELD_BARRIER
true if the VM requires read barriers on long getfield |
static boolean |
NEEDS_LONG_PUTFIELD_BARRIER
true if the VM requires write barriers on long putfield |
static boolean |
NEEDS_OBJECT_ALOAD_BARRIER
true if the VM requires read barriers on reference arrayload |
static boolean |
NEEDS_OBJECT_ASTORE_BARRIER
true if the VM requires write barriers on reference arraystore |
private static boolean |
NEEDS_OBJECT_GC_GETSTATIC_BARRIER
true if the selected plan requires read barriers on reference getstatic |
private static boolean |
NEEDS_OBJECT_GC_PUTSTATIC_BARRIER
true if the selected plan requires write barriers on reference putstatic |
private static boolean |
NEEDS_OBJECT_GC_READ_BARRIER
true if the garbage collector requires read barriers on reference getfield or arrayload |
private static boolean |
NEEDS_OBJECT_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on reference putfield, arraystore or modifycheck |
static boolean |
NEEDS_OBJECT_GETFIELD_BARRIER
true if the VM requires read barriers on reference getfield |
static boolean |
NEEDS_OBJECT_GETSTATIC_BARRIER
true if the selected plan requires read barriers on reference getstatic |
static boolean |
NEEDS_OBJECT_PUTFIELD_BARRIER
true if the VM requires write barriers on reference putfield |
static boolean |
NEEDS_OBJECT_PUTSTATIC_BARRIER
true if the selected plan requires write barriers on reference putstatic |
private static boolean |
NEEDS_OFFSET_GC_READ_BARRIER
true if the garbage collector requires read barriers on Offset getfield or arrayload |
private static boolean |
NEEDS_OFFSET_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on Offset putfield, arraystore or modifycheck |
static boolean |
NEEDS_OFFSET_GETFIELD_BARRIER
true if the VM requires read barriers on Offset getfield |
static boolean |
NEEDS_OFFSET_PUTFIELD_BARRIER
true if the VM requires write barriers on Offset putfield |
static boolean |
NEEDS_SHORT_ALOAD_BARRIER
true if the VM requires read barriers on short arrayload |
static boolean |
NEEDS_SHORT_ASTORE_BARRIER
true if the VM requires write barriers on short arraystore |
private static boolean |
NEEDS_SHORT_GC_READ_BARRIER
true if the garbage collector requires read barriers on short getfield or arrayload |
private static boolean |
NEEDS_SHORT_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on short putfield, arraystore or modifycheck |
static boolean |
NEEDS_SHORT_GETFIELD_BARRIER
true if the VM requires read barriers on short getfield |
static boolean |
NEEDS_SHORT_PUTFIELD_BARRIER
true if the VM requires write barriers on short putfield |
private static boolean |
NEEDS_WORD_GC_READ_BARRIER
true if the garbage collector requires read barriers on Word getfield or arrayload |
private static boolean |
NEEDS_WORD_GC_WRITE_BARRIER
true if the garbage collector requires write barriers on Word putfield, arraystore or modifycheck |
static boolean |
NEEDS_WORD_GETFIELD_BARRIER
true if the VM requires read barriers on Word getfield |
static boolean |
NEEDS_WORD_PUTFIELD_BARRIER
true if the VM requires write barriers on Word putfield |
static boolean |
OBJECT_BULK_COPY_SUPPORTED
true if the garbage collector supports the bulk copy operation |
static boolean |
SHORT_BULK_COPY_SUPPORTED
true if the garbage collector does not support the bulk copy operation |
Constructor and Description |
---|
Barriers() |
Modifier and Type | Method and Description |
---|---|
static Address |
addressFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of Address's from fields of instances (i.e. getfield).
|
static void |
addressFieldWrite(Object ref,
Address value,
Offset offset,
int locationMetadata)
Barrier for writes of Address's into fields of instances (i.e. putfield).
|
static boolean |
addressTryCompareAndSwap(Object ref,
Offset offset,
Address old,
Address value)
Barrier for conditional compare and exchange of Address fields.
|
static boolean |
booleanArrayRead(boolean[] ref,
int index)
Barrier for loads of booleans from fields of arrays (i.e. aload).
|
static void |
booleanArrayWrite(boolean[] ref,
int index,
boolean value)
Barrier for writes of booleans into arrays (i.e. bastore).
|
static void |
booleanBulkCopy(boolean[] src,
Offset srcOffset,
boolean[] dst,
Offset dstOffset,
int bytes)
Barrier for a bulk copy of booleans (i.e. in an array copy).
|
static boolean |
booleanFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of booleans from fields of instances (i.e. getfield).
|
static void |
booleanFieldWrite(Object ref,
boolean value,
Offset offset,
int locationMetadata)
Barrier for writes of booleans into fields of instances (i.e. putfield).
|
static byte |
byteArrayRead(byte[] ref,
int index)
Barrier for loads of bytes from fields of arrays (i.e. baload).
|
static void |
byteArrayWrite(byte[] ref,
int index,
byte value)
Barrier for writes of bytes into arrays (i.e. bastore).
|
static void |
byteBulkCopy(byte[] src,
Offset srcOffset,
byte[] dst,
Offset dstOffset,
int bytes)
Barrier for a bulk copy of bytes (i.e. in an array copy).
|
static byte |
byteFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of bytes from fields of instances (i.e. getfield).
|
static void |
byteFieldWrite(Object ref,
byte value,
Offset offset,
int locationMetadata)
Barrier for writes of bytes into fields of instances (i.e. putfield).
|
static char |
charArrayRead(char[] ref,
int index)
Barrier for loads of chars from fields of arrays (i.e. caload).
|
static void |
charArrayWrite(char[] ref,
int index,
char value)
Barrier for writes of chars into arrays (i.e. castore).
|
static void |
charBulkCopy(char[] src,
Offset srcOffset,
char[] dst,
Offset dstOffset,
int bytes)
Barrier for a bulk copy of chars (i.e. in an array copy).
|
static char |
charFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of chars from fields of instances (i.e. getfield).
|
static void |
charFieldWrite(Object ref,
char value,
Offset offset,
int locationMetadata)
Barrier for writes of chars into fields of instances (i.e. putfield).
|
static double |
doubleArrayRead(double[] ref,
int index)
Barrier for loads of doubles from fields of arrays (i.e. daload).
|
static void |
doubleArrayWrite(double[] ref,
int index,
double value)
Barrier for writes of doubles into arrays (i.e. dastore).
|
static void |
doubleBulkCopy(double[] src,
Offset srcOffset,
double[] dst,
Offset dstOffset,
int bytes)
Barrier for a bulk copy of doubles (i.e. in an array copy).
|
static double |
doubleFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of doubles from fields of instances (i.e. getfield).
|
static void |
doubleFieldWrite(Object ref,
double value,
Offset offset,
int locationMetadata)
Barrier for writes of doubles into fields of instances (i.e. putfield).
|
static Extent |
extentFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of Extents from fields of instances (i.e. getfield).
|
static void |
extentFieldWrite(Object ref,
Extent value,
Offset offset,
int locationMetadata)
Barrier for writes of Extents into fields of instances (i.e. putfield).
|
static float |
floatArrayRead(float[] ref,
int index)
Barrier for loads of floats from fields of arrays (i.e. faload).
|
static void |
floatArrayWrite(float[] ref,
int index,
float value)
Barrier for writes of floats into arrays (i.e. fastore).
|
static void |
floatBulkCopy(float[] src,
Offset srcOffset,
float[] dst,
Offset dstOffset,
int bytes)
Barrier for a bulk copy of floats (i.e. in an array copy).
|
static float |
floatFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of floats from fields of instances (i.e. getfield).
|
static void |
floatFieldWrite(Object ref,
float value,
Offset offset,
int locationMetadata)
Barrier for writes of floats into fields of instances (i.e. putfield).
|
static int |
intArrayRead(int[] ref,
int index)
Barrier for loads of ints from fields of arrays (i.e. iaload).
|
static void |
intArrayWrite(int[] ref,
int index,
int value)
Barrier for writes of ints into arrays (i.e. iastore).
|
static void |
intBulkCopy(int[] src,
Offset srcOffset,
int[] dst,
Offset dstOffset,
int bytes)
Barrier for a bulk copy of ints (i.e. in an array copy).
|
static int |
intFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of ints from fields of instances (i.e. getfield).
|
static void |
intFieldWrite(Object ref,
int value,
Offset offset,
int locationMetadata)
Barrier for writes of ints into fields of instances (i.e. putfield).
|
static boolean |
intTryCompareAndSwap(Object ref,
Offset offset,
int old,
int value)
Barrier for conditional compare and exchange of int fields.
|
static Object |
javaLangReferenceReadBarrier(Object obj)
A java.lang.ref.Reference is being read.
|
static long |
longArrayRead(long[] ref,
int index)
Barrier for loads of longs from fields of arrays (i.e. laload).
|
static void |
longArrayWrite(long[] ref,
int index,
long value)
Barrier for writes of longs into arrays (i.e. lastore).
|
static void |
longBulkCopy(long[] src,
Offset srcOffset,
long[] dst,
Offset dstOffset,
int bytes)
Barrier for a bulk copy of longs (i.e. in an array copy).
|
static long |
longFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of longs from fields of instances (i.e. getfield).
|
static void |
longFieldWrite(Object ref,
long value,
Offset offset,
int locationMetadata)
Barrier for writes of longs into fields of instances (i.e. putfield).
|
static boolean |
longTryCompareAndSwap(Object ref,
Offset offset,
long old,
long value)
Barrier for conditional compare and exchange of long fields.
|
static Object |
objectArrayRead(Object[] ref,
int index)
Barrier for loads of objects from fields of arrays (i.e. aaload).
|
static void |
objectArrayWrite(Object[] ref,
int index,
Object value)
Barrier for writes of objects into arrays (i.e. aastore).
|
static void |
objectBulkCopy(Object[] src,
Offset srcOffset,
Object[] dst,
Offset dstOffset,
int bytes)
Barrier for a bulk copy of objects (i.e. in an array copy).
|
static Object |
objectFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of objects from fields of instances (i.e. getfield).
|
static void |
objectFieldWrite(Object ref,
Object value,
Offset offset,
int locationMetadata)
Barrier for writes of objects into fields of instances (i.e. putfield).
|
static Object |
objectStaticRead(Offset offset,
int locationMetadata)
Barrier for loads of objects from statics (i.e. getstatic)
|
static void |
objectStaticWrite(Object value,
Offset offset,
int locationMetadata)
Barrier for writes of objects from statics (eg putstatic)
|
static boolean |
objectTryCompareAndSwap(Object ref,
Offset offset,
Object old,
Object value)
Barrier for conditional compare and exchange of reference fields.
|
static Offset |
offsetFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of Offsets from fields of instances (i.e. getfield).
|
static void |
offsetFieldWrite(Object ref,
Offset value,
Offset offset,
int locationMetadata)
Barrier for writes of Offsets into fields of instances (i.e. putfield).
|
static short |
shortArrayRead(short[] ref,
int index)
Barrier for loads of shorts from fields of arrays (i.e. saload).
|
static void |
shortArrayWrite(short[] ref,
int index,
short value)
Barrier for writes of shorts into arrays (i.e. sastore).
|
static void |
shortBulkCopy(short[] src,
Offset srcOffset,
short[] dst,
Offset dstOffset,
int bytes)
Barrier for a bulk copy of shorts (i.e. in an array copy).
|
static short |
shortFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of shorts from fields of instances (i.e. getfield).
|
static void |
shortFieldWrite(Object ref,
short value,
Offset offset,
int locationMetadata)
Barrier for writes of shorts into fields of instances (i.e. putfield).
|
static Word |
wordFieldRead(Object ref,
Offset offset,
int locationMetadata)
Barrier for loads of Words from fields of instances (i.e. getfield).
|
static void |
wordFieldWrite(Object ref,
Word value,
Offset offset,
int locationMetadata)
Barrier for writes of Words into fields of instances (i.e. putfield).
|
static boolean |
wordTryCompareAndSwap(Object ref,
Offset offset,
Word old,
Word value)
Barrier for conditional compare and exchange of Word fields.
|
private static final boolean NEEDS_JAVA_LANG_REFERENCE_GC_READ_BARRIER
true
if the selected plan requires a read barrier on java.lang.ref.Reference typespublic static final boolean NEEDS_JAVA_LANG_REFERENCE_READ_BARRIER
true
if the selected plan requires a read barrier on java.lang.ref.Reference typesprivate static final boolean NEEDS_BOOLEAN_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on boolean putfield, arraystore or modifycheckpublic static final boolean NEEDS_BOOLEAN_PUTFIELD_BARRIER
true
if the VM requires write barriers on boolean putfieldpublic static final boolean NEEDS_BOOLEAN_ASTORE_BARRIER
true
if the VM requires write barriers on boolean arraystoreprivate static final boolean NEEDS_BOOLEAN_GC_READ_BARRIER
true
if the garbage collector requires read barriers on boolean getfield or arrayloadpublic static final boolean NEEDS_BOOLEAN_GETFIELD_BARRIER
true
if the VM requires read barriers on boolean getfieldpublic static final boolean NEEDS_BOOLEAN_ALOAD_BARRIER
true
if the VM requires read barriers on boolean arrayloadpublic static final boolean BOOLEAN_BULK_COPY_SUPPORTED
true
if the garbage collector does not support the bulk copy operationprivate static final boolean NEEDS_BYTE_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on byte putfield, arraystore or modifycheckpublic static final boolean NEEDS_BYTE_PUTFIELD_BARRIER
true
if the VM requires write barriers on byte putfieldpublic static final boolean NEEDS_BYTE_ASTORE_BARRIER
true
if the VM requires write barriers on byte arraystoreprivate static final boolean NEEDS_BYTE_GC_READ_BARRIER
true
if the garbage collector requires read barriers on byte getfield or arrayloadpublic static final boolean NEEDS_BYTE_GETFIELD_BARRIER
true
if the VM requires read barriers on byte getfieldpublic static final boolean NEEDS_BYTE_ALOAD_BARRIER
true
if the VM requires read barriers on byte arrayloadpublic static final boolean BYTE_BULK_COPY_SUPPORTED
true
if the garbage collector does not support the bulk copy operationprivate static final boolean NEEDS_CHAR_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on char putfield, arraystore or modifycheckpublic static final boolean NEEDS_CHAR_PUTFIELD_BARRIER
true
if the VM requires write barriers on char putfieldpublic static final boolean NEEDS_CHAR_ASTORE_BARRIER
true
if the VM requires write barriers on char arraystoreprivate static final boolean NEEDS_CHAR_GC_READ_BARRIER
true
if the garbage collector requires read barriers on char getfield or arrayloadpublic static final boolean NEEDS_CHAR_GETFIELD_BARRIER
true
if the VM requires read barriers on char getfieldpublic static final boolean NEEDS_CHAR_ALOAD_BARRIER
true
if the VM requires read barriers on char arrayloadpublic static final boolean CHAR_BULK_COPY_SUPPORTED
true
if the garbage collector does not support the bulk copy operationprivate static final boolean NEEDS_SHORT_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on short putfield, arraystore or modifycheckpublic static final boolean NEEDS_SHORT_PUTFIELD_BARRIER
true
if the VM requires write barriers on short putfieldpublic static final boolean NEEDS_SHORT_ASTORE_BARRIER
true
if the VM requires write barriers on short arraystoreprivate static final boolean NEEDS_SHORT_GC_READ_BARRIER
true
if the garbage collector requires read barriers on short getfield or arrayloadpublic static final boolean NEEDS_SHORT_GETFIELD_BARRIER
true
if the VM requires read barriers on short getfieldpublic static final boolean NEEDS_SHORT_ALOAD_BARRIER
true
if the VM requires read barriers on short arrayloadpublic static final boolean SHORT_BULK_COPY_SUPPORTED
true
if the garbage collector does not support the bulk copy operationprivate static final boolean NEEDS_INT_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on int putfield, arraystore or modifycheckpublic static final boolean NEEDS_INT_PUTFIELD_BARRIER
true
if the VM requires write barriers on int putfieldpublic static final boolean NEEDS_INT_ASTORE_BARRIER
true
if the VM requires write barriers on int arraystoreprivate static final boolean NEEDS_INT_GC_READ_BARRIER
true
if the garbage collector requires read barriers on int getfield or arrayloadpublic static final boolean NEEDS_INT_GETFIELD_BARRIER
true
if the VM requires read barriers on int getfieldpublic static final boolean NEEDS_INT_ALOAD_BARRIER
true
if the VM requires read barriers on int arrayloadpublic static final boolean INT_BULK_COPY_SUPPORTED
true
if the garbage collector does not support the bulk copy operationprivate static final boolean NEEDS_LONG_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on long putfield, arraystore or modifycheckpublic static final boolean NEEDS_LONG_PUTFIELD_BARRIER
true
if the VM requires write barriers on long putfieldpublic static final boolean NEEDS_LONG_ASTORE_BARRIER
true
if the VM requires write barriers on long arraystoreprivate static final boolean NEEDS_LONG_GC_READ_BARRIER
true
if the garbage collector requires read barriers on long getfield or arrayloadpublic static final boolean NEEDS_LONG_GETFIELD_BARRIER
true
if the VM requires read barriers on long getfieldpublic static final boolean NEEDS_LONG_ALOAD_BARRIER
true
if the VM requires read barriers on long arrayloadpublic static final boolean LONG_BULK_COPY_SUPPORTED
true
if the garbage collector supports the bulk copy operationprivate static final boolean NEEDS_FLOAT_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on float putfield, arraystore or modifycheckpublic static final boolean NEEDS_FLOAT_PUTFIELD_BARRIER
true
if the VM requires write barriers on float putfieldpublic static final boolean NEEDS_FLOAT_ASTORE_BARRIER
true
if the VM requires write barriers on float arraystoreprivate static final boolean NEEDS_FLOAT_GC_READ_BARRIER
true
if the garbage collector requires read barriers on float getfield or arrayloadpublic static final boolean NEEDS_FLOAT_GETFIELD_BARRIER
true
if the VM requires read barriers on float getfieldpublic static final boolean NEEDS_FLOAT_ALOAD_BARRIER
true
if the VM requires read barriers on float arrayloadpublic static final boolean FLOAT_BULK_COPY_SUPPORTED
true
if the garbage collector supports the bulk copy operationprivate static final boolean NEEDS_DOUBLE_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on double putfield, arraystore or modifycheckpublic static final boolean NEEDS_DOUBLE_PUTFIELD_BARRIER
true
if the VM requires write barriers on double putfieldpublic static final boolean NEEDS_DOUBLE_ASTORE_BARRIER
true
if the VM requires write barriers on double arraystoreprivate static final boolean NEEDS_DOUBLE_GC_READ_BARRIER
true
if the garbage collector requires read barriers on double getfield or arrayloadpublic static final boolean NEEDS_DOUBLE_GETFIELD_BARRIER
true
if the VM requires read barriers on double getfieldpublic static final boolean NEEDS_DOUBLE_ALOAD_BARRIER
true
if the VM requires read barriers on double arrayloadpublic static final boolean DOUBLE_BULK_COPY_SUPPORTED
true
if the garbage collector supports the bulk copy operationprivate static final boolean NEEDS_WORD_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on Word putfield, arraystore or modifycheckpublic static final boolean NEEDS_WORD_PUTFIELD_BARRIER
true
if the VM requires write barriers on Word putfieldprivate static final boolean NEEDS_WORD_GC_READ_BARRIER
true
if the garbage collector requires read barriers on Word getfield or arrayloadpublic static final boolean NEEDS_WORD_GETFIELD_BARRIER
true
if the VM requires read barriers on Word getfieldprivate static final boolean NEEDS_ADDRESS_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on Address putfield, arraystore or modifycheckpublic static final boolean NEEDS_ADDRESS_PUTFIELD_BARRIER
true
if the VM requires write barriers on Address putfieldprivate static final boolean NEEDS_ADDRESS_GC_READ_BARRIER
true
if the garbage collector requires read barriers on Address getfield or arrayloadpublic static final boolean NEEDS_ADDRESS_GETFIELD_BARRIER
true
if the VM requires read barriers on Address getfieldprivate static final boolean NEEDS_EXTENT_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on Extent putfield, arraystore or modifycheckpublic static final boolean NEEDS_EXTENT_PUTFIELD_BARRIER
true
if the VM requires write barriers on Extent putfieldprivate static final boolean NEEDS_EXTENT_GC_READ_BARRIER
true
if the garbage collector requires read barriers on Extent getfield or arrayloadpublic static final boolean NEEDS_EXTENT_GETFIELD_BARRIER
true
if the VM requires read barriers on Extent getfieldprivate static final boolean NEEDS_OFFSET_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on Offset putfield, arraystore or modifycheckpublic static final boolean NEEDS_OFFSET_PUTFIELD_BARRIER
true
if the VM requires write barriers on Offset putfieldprivate static final boolean NEEDS_OFFSET_GC_READ_BARRIER
true
if the garbage collector requires read barriers on Offset getfield or arrayloadpublic static final boolean NEEDS_OFFSET_GETFIELD_BARRIER
true
if the VM requires read barriers on Offset getfieldprivate static final boolean NEEDS_OBJECT_GC_WRITE_BARRIER
true
if the garbage collector requires write barriers on reference putfield, arraystore or modifycheckpublic static final boolean NEEDS_OBJECT_PUTFIELD_BARRIER
true
if the VM requires write barriers on reference putfieldpublic static final boolean NEEDS_OBJECT_ASTORE_BARRIER
true
if the VM requires write barriers on reference arraystoreprivate static final boolean NEEDS_OBJECT_GC_READ_BARRIER
true
if the garbage collector requires read barriers on reference getfield or arrayloadpublic static final boolean NEEDS_OBJECT_GETFIELD_BARRIER
true
if the VM requires read barriers on reference getfieldpublic static final boolean NEEDS_OBJECT_ALOAD_BARRIER
true
if the VM requires read barriers on reference arrayloadpublic static final boolean OBJECT_BULK_COPY_SUPPORTED
true
if the garbage collector supports the bulk copy operationprivate static final boolean NEEDS_OBJECT_GC_PUTSTATIC_BARRIER
true
if the selected plan requires write barriers on reference putstaticpublic static final boolean NEEDS_OBJECT_PUTSTATIC_BARRIER
true
if the selected plan requires write barriers on reference putstaticprivate static final boolean NEEDS_OBJECT_GC_GETSTATIC_BARRIER
true
if the selected plan requires read barriers on reference getstaticpublic static final boolean NEEDS_OBJECT_GETSTATIC_BARRIER
true
if the selected plan requires read barriers on reference getstaticpublic Barriers()
public static Object javaLangReferenceReadBarrier(Object obj)
obj
- The non-null referent about to be released to the mutator.public static void booleanFieldWrite(Object ref, boolean value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static void booleanArrayWrite(boolean[] ref, int index, boolean value)
ref
- the array which is the subject of the astoreindex
- the index into the array where the new reference
resides. The index is the "natural" index into the array, for
example a[index].value
- the value to be stored.public static boolean booleanFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static boolean booleanArrayRead(boolean[] ref, int index)
ref
- the array containing the reference.index
- the index into the array were the reference resides.public static void booleanBulkCopy(boolean[] src, Offset srcOffset, boolean[] dst, Offset dstOffset, int bytes)
src
- The source arraysrcOffset
- The starting source offsetdst
- The destination arraydstOffset
- The starting destination offsetbytes
- The number of bytes to be copiedpublic static void byteFieldWrite(Object ref, byte value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static void byteArrayWrite(byte[] ref, int index, byte value)
ref
- the array which is the subject of the astoreindex
- the index into the array where the new reference
resides. The index is the "natural" index into the array, for
example a[index].value
- the value to be stored.public static byte byteFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static byte byteArrayRead(byte[] ref, int index)
ref
- the array containing the reference.index
- the index into the array were the reference resides.public static void byteBulkCopy(byte[] src, Offset srcOffset, byte[] dst, Offset dstOffset, int bytes)
src
- The source arraysrcOffset
- The starting source offsetdst
- The destination arraydstOffset
- The starting destination offsetbytes
- The number of bytes to be copiedpublic static void charFieldWrite(Object ref, char value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static void charArrayWrite(char[] ref, int index, char value)
ref
- the array which is the subject of the astoreindex
- the index into the array where the new reference
resides. The index is the "natural" index into the array, for
example a[index].value
- the value to be stored.public static char charFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static char charArrayRead(char[] ref, int index)
ref
- the array containing the reference.index
- the index into the array were the reference resides.public static void charBulkCopy(char[] src, Offset srcOffset, char[] dst, Offset dstOffset, int bytes)
src
- The source arraysrcOffset
- The starting source offsetdst
- The destination arraydstOffset
- The starting destination offsetbytes
- The number of bytes to be copiedpublic static void shortFieldWrite(Object ref, short value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static void shortArrayWrite(short[] ref, int index, short value)
ref
- the array which is the subject of the astoreindex
- the index into the array where the new reference
resides. The index is the "natural" index into the array, for
example a[index].value
- the value to be stored.public static short shortFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static short shortArrayRead(short[] ref, int index)
ref
- the array containing the reference.index
- the index into the array were the reference resides.public static void shortBulkCopy(short[] src, Offset srcOffset, short[] dst, Offset dstOffset, int bytes)
src
- The source arraysrcOffset
- The starting source offsetdst
- The destination arraydstOffset
- The starting destination offsetbytes
- The number of bytes to be copiedpublic static void intFieldWrite(Object ref, int value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static void intArrayWrite(int[] ref, int index, int value)
ref
- the array which is the subject of the astoreindex
- the index into the array where the new reference
resides. The index is the "natural" index into the array, for
example a[index].value
- the value to be stored.public static int intFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static int intArrayRead(int[] ref, int index)
ref
- the array containing the reference.index
- the index into the array were the reference resides.public static void intBulkCopy(int[] src, Offset srcOffset, int[] dst, Offset dstOffset, int bytes)
src
- The source arraysrcOffset
- The starting source offsetdst
- The destination arraydstOffset
- The starting destination offsetbytes
- The number of bytes to be copiedpublic static boolean intTryCompareAndSwap(Object ref, Offset offset, int old, int value)
ref
- the object which is the subject of the compare and exchangesoffset
- the offset of the field to be modifiedold
- the old value to swap outvalue
- the new value for the fieldtrue
if and only if the swap was successfulpublic static void longFieldWrite(Object ref, long value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static void longArrayWrite(long[] ref, int index, long value)
ref
- the array which is the subject of the astoreindex
- the index into the array where the new reference
resides. The index is the "natural" index into the array, for
example a[index].value
- the value to be stored.public static long longFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static long longArrayRead(long[] ref, int index)
ref
- the array containing the reference.index
- the index into the array were the reference resides.public static boolean longTryCompareAndSwap(Object ref, Offset offset, long old, long value)
ref
- the object which is the subject of the compare and exchangesoffset
- the offset of the field to be modifiedold
- the old value to swap outvalue
- the new value for the fieldtrue
if and only if the swap was successfulpublic static void longBulkCopy(long[] src, Offset srcOffset, long[] dst, Offset dstOffset, int bytes)
src
- The source arraysrcOffset
- The starting source offsetdst
- The destination arraydstOffset
- The starting destination offsetbytes
- The number of bytes to be copiedpublic static void floatFieldWrite(Object ref, float value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static void floatArrayWrite(float[] ref, int index, float value)
ref
- the array which is the subject of the astoreindex
- the index into the array where the new reference
resides. The index is the "natural" index into the array, for
example a[index].value
- the value to be stored.public static float floatFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static float floatArrayRead(float[] ref, int index)
ref
- the array containing the reference.index
- the index into the array were the reference resides.public static void floatBulkCopy(float[] src, Offset srcOffset, float[] dst, Offset dstOffset, int bytes)
src
- The source arraysrcOffset
- The starting source offsetdst
- The destination arraydstOffset
- The starting destination offsetbytes
- The number of bytes to be copiedpublic static void doubleFieldWrite(Object ref, double value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static void doubleArrayWrite(double[] ref, int index, double value)
ref
- the array which is the subject of the astoreindex
- the index into the array where the new reference
resides. The index is the "natural" index into the array, for
example a[index].value
- the value to be stored.public static double doubleFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static double doubleArrayRead(double[] ref, int index)
ref
- the array containing the reference.index
- the index into the array were the reference resides.public static void doubleBulkCopy(double[] src, Offset srcOffset, double[] dst, Offset dstOffset, int bytes)
src
- The source arraysrcOffset
- The starting source offsetdst
- The destination arraydstOffset
- The starting destination offsetbytes
- The number of bytes to be copiedpublic static void wordFieldWrite(Object ref, Word value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static Word wordFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static boolean wordTryCompareAndSwap(Object ref, Offset offset, Word old, Word value)
ref
- the object which is the subject of the compare and exchangesoffset
- the offset of the field to be modifiedold
- the old value to swap outvalue
- the new value for the fieldtrue
if and only if the swap was successfulpublic static void addressFieldWrite(Object ref, Address value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static Address addressFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static boolean addressTryCompareAndSwap(Object ref, Offset offset, Address old, Address value)
ref
- the object which is the subject of the compare and exchangesoffset
- the offset of the field to be modifiedold
- the old value to swap outvalue
- the new value for the fieldtrue
if and only if the swap was successfulpublic static void extentFieldWrite(Object ref, Extent value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static Extent extentFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static void offsetFieldWrite(Object ref, Offset value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static Offset offsetFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static void objectFieldWrite(Object ref, Object value, Offset offset, int locationMetadata)
ref
- the object which is the subject of the putfieldvalue
- the new value for the fieldoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static void objectArrayWrite(Object[] ref, int index, Object value)
ref
- the array which is the subject of the astoreindex
- the index into the array where the new reference
resides. The index is the "natural" index into the array, for
example a[index].value
- the value to be stored.public static Object objectFieldRead(Object ref, Offset offset, int locationMetadata)
ref
- the object which is the subject of the getfieldoffset
- the offset of the field to be readlocationMetadata
- an int that encodes the source location being readpublic static Object objectArrayRead(Object[] ref, int index)
ref
- the array containing the reference.index
- the index into the array were the reference resides.public static void objectBulkCopy(Object[] src, Offset srcOffset, Object[] dst, Offset dstOffset, int bytes)
src
- The source arraysrcOffset
- The starting source offsetdst
- The destination arraydstOffset
- The starting destination offsetbytes
- The number of bytes to be copiedpublic static void objectStaticWrite(Object value, Offset offset, int locationMetadata)
value
- the new value to be storedoffset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being modifiedpublic static Object objectStaticRead(Offset offset, int locationMetadata)
offset
- the offset of the field to be modifiedlocationMetadata
- an int that encodes the source location being readpublic static boolean objectTryCompareAndSwap(Object ref, Offset offset, Object old, Object value)
ref
- the object which is the subject of the compare and exchangesoffset
- the offset of the field to be modifiedold
- the old value to swap outvalue
- the new value for the fieldtrue
if and only if the swap was successful