|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HDR
This class contains constants that describe the object header layout.
Field Summary | |
---|---|
static int |
arrayHeaderSize
The size (in bytes) of an object header for an array object. |
static int |
arrayHeaderTag
The object header format tag value specifying an array object header. |
static int |
basicHeaderSize
The size (in bytes) of an object header for a non-array, non-method-body object. |
static int |
basicHeaderTag
The object header format tag value specifying a non-array, non-method-body object header. |
static int |
BITS_PER_BYTE
The number of bits per byte. |
static int |
BITS_PER_WORD
The number of bits in a pointer. |
static int |
BYTES_PER_WORD
The size (in bytes) of a pointer. |
static int |
forwardPointerBit
The bit in a class pointer word that is set if the object has been forwarded. |
static int |
headerTagBits
The number of low order bits in the first word of an object header that specify the format of the object header. |
static int |
headerTagMask
The mask that is applied to the first word of an object header to extract the format tag. |
static int |
klass
The offset (in words) from an object's address to the class pointer in the object's header. |
static int |
length
The offset (in words) from an object's address to array length in the object's header. |
static int |
LOG2_BITS_PER_BYTE
The amount by which to right shift a bit index to yield the byte in a bitmap containing the indexed bit. |
static int |
LOG2_BITS_PER_WORD
The amount by which to right shift a bit index to yield the word in a bitmap containing the indexed bit. |
static int |
LOG2_BYTES_PER_WORD
The amount by which to right shift a byte offset to find the offset of the word that contains the indexed byte. |
static int |
methodDefiningClass
The offset (in words) from an method body's address to the defining class pointer in the method body's header. |
static int |
methodHeaderTag
The object header format tag value specifying a mehod body object header. |
static int |
methodInfoStart
The offset (in bytes) from an method body's address to the start of the info block in the method body's header. |
Field Detail |
---|
static final int BYTES_PER_WORD
static final int LOG2_BYTES_PER_WORD
static final int BITS_PER_BYTE
static final int BITS_PER_WORD
static final int LOG2_BITS_PER_WORD
static final int LOG2_BITS_PER_BYTE
static final int klass
static final int length
static final int methodDefiningClass
static final int methodInfoStart
static final int basicHeaderSize
static final int arrayHeaderSize
static final int headerTagBits
static final int headerTagMask
static final int basicHeaderTag
static final int arrayHeaderTag
static final int methodHeaderTag
static final int forwardPointerBit
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |