public final class Constants extends Object
static final int LOG_BYTES_IN_INT = 2; static final int BYTES_IN_INT = 1<<LOG_BYTES_IN_INT; static final int LOG_BITS_IN_INT = LOG_BITS_IN_BYTE + LOG_BYTES_IN_INT; static final int BITS_IN_INT = 1<<LOG_BITS_IN_INT;
Modifier and Type | Field and Description |
---|---|
static int |
ALIGNMENT_VALUE
The VM will add at most this value minus BYTES_IN_INT bytes of
padding to the front of an object that it places in a region of
memory.
|
static int |
ARRAY_ELEMENT |
static int |
BITS_IN_ADDRESS |
static int |
BITS_IN_BYTE |
static int |
BITS_IN_CHAR |
static int |
BITS_IN_INT |
static int |
BITS_IN_PAGE |
static int |
BITS_IN_SHORT |
static int |
BITS_IN_WORD |
static int |
BYTES_IN_ADDRESS |
static int |
BYTES_IN_BYTE |
static int |
BYTES_IN_CHAR |
static int |
BYTES_IN_INT |
static int |
BYTES_IN_KBYTE |
static int |
BYTES_IN_MBYTE |
static int |
BYTES_IN_PAGE |
static int |
BYTES_IN_SHORT |
static int |
BYTES_IN_WORD |
static int |
CARD_MASK |
static int |
CARD_META_PAGES_PER_REGION |
static int |
INSTANCE_FIELD |
static int |
LOG_BITS_IN_ADDRESS |
static byte |
LOG_BITS_IN_BYTE |
static byte |
LOG_BITS_IN_CHAR |
static byte |
LOG_BITS_IN_INT |
static int |
LOG_BITS_IN_PAGE |
static byte |
LOG_BITS_IN_SHORT |
static int |
LOG_BITS_IN_WORD |
static byte |
LOG_BYTES_IN_ADDRESS |
static byte |
LOG_BYTES_IN_ADDRESS_SPACE |
static byte |
LOG_BYTES_IN_BYTE |
static byte |
LOG_BYTES_IN_CHAR |
static byte |
LOG_BYTES_IN_INT |
static byte |
LOG_BYTES_IN_KBYTE |
static byte |
LOG_BYTES_IN_MBYTE |
static byte |
LOG_BYTES_IN_PAGE |
static byte |
LOG_BYTES_IN_SHORT |
static byte |
LOG_BYTES_IN_WORD |
static int |
LOG_CARD_BYTES |
static int |
LOG_CARD_GRAIN |
static int |
LOG_CARD_META_BYTES |
static int |
LOG_CARD_META_PAGES |
static int |
LOG_CARD_META_SIZE |
static int |
LOG_CARD_UNITS |
static byte |
LOG_MIN_ALIGNMENT
This value specifies the minimum allocation alignment
requirement of the VM.
|
static int |
MAX_ALIGNMENT
The maximum alignment request the vm will make.
|
static int |
MAX_BYTES_PADDING
The VM will add at most this value minus BYTES_IN_INT bytes of
padding to the front of an object that it places in a region of
memory.
|
static int |
MAX_INT |
static int |
MIN_ALIGNMENT |
static int |
MIN_INT |
static boolean |
SUPPORT_CARD_SCANNING |
Constructor and Description |
---|
Constants() |
public static final int INSTANCE_FIELD
public static final int ARRAY_ELEMENT
public static final byte LOG_BYTES_IN_BYTE
public static final int BYTES_IN_BYTE
public static final byte LOG_BITS_IN_BYTE
public static final int BITS_IN_BYTE
public static final byte LOG_BYTES_IN_MBYTE
public static final int BYTES_IN_MBYTE
public static final byte LOG_BYTES_IN_KBYTE
public static final int BYTES_IN_KBYTE
public static final boolean SUPPORT_CARD_SCANNING
public static final int LOG_CARD_META_SIZE
public static final int LOG_CARD_UNITS
public static final int LOG_CARD_GRAIN
public static final int LOG_CARD_BYTES
public static final int LOG_CARD_META_BYTES
public static final int LOG_CARD_META_PAGES
public static final int CARD_META_PAGES_PER_REGION
public static final int CARD_MASK
public static final byte LOG_BYTES_IN_CHAR
public static final int BYTES_IN_CHAR
public static final byte LOG_BITS_IN_CHAR
public static final int BITS_IN_CHAR
public static final byte LOG_BYTES_IN_SHORT
public static final int BYTES_IN_SHORT
public static final byte LOG_BITS_IN_SHORT
public static final int BITS_IN_SHORT
public static final byte LOG_BYTES_IN_INT
public static final int BYTES_IN_INT
public static final byte LOG_BITS_IN_INT
public static final int BITS_IN_INT
public static final int MAX_INT
public static final int MIN_INT
public static final byte LOG_BYTES_IN_ADDRESS
public static final int BYTES_IN_ADDRESS
public static final int LOG_BITS_IN_ADDRESS
public static final int BITS_IN_ADDRESS
public static final byte LOG_BYTES_IN_WORD
public static final int BYTES_IN_WORD
public static final int LOG_BITS_IN_WORD
public static final int BITS_IN_WORD
public static final byte LOG_BYTES_IN_PAGE
public static final int BYTES_IN_PAGE
public static final int LOG_BITS_IN_PAGE
public static final int BITS_IN_PAGE
public static final byte LOG_BYTES_IN_ADDRESS_SPACE
public static final byte LOG_MIN_ALIGNMENT
align
and offset
must be multiples of
MIN_ALIGNMENT
.
This value is required to be a power of 2.public static final int MIN_ALIGNMENT
public static final int MAX_ALIGNMENT
public static final int MAX_BYTES_PADDING
public static final int ALIGNMENT_VALUE
public Constants()