Modifier and Type | Field and Description |
---|---|
(package private) static int |
BLOCK_DEFRAG_STATE_TABLE_OFFSET |
private static int |
BLOCK_MASK |
(package private) static int |
BLOCK_STATE_TABLE_OFFSET |
static int |
FIRST_USABLE_BLOCK_INDEX |
private static int |
HIGHWATER_BYTES |
(package private) static int |
HIGHWATER_OFFSET |
(package private) static int |
LINE_MARK_TABLE_OFFSET |
private static int |
LOG_BYTES_IN_HIGHWATER_ENTRY |
private static int |
LOG_BYTES_IN_MAP_ENTRY |
private static int |
MAP_BYTES |
(package private) static int |
MAP_OFFSET |
(package private) static int |
METADATA_BYTES_PER_CHUNK |
(package private) static int |
ROUNDED_METADATA_BYTES_PER_CHUNK |
(package private) static int |
ROUNDED_METADATA_PAGES_PER_CHUNK |
Constructor and Description |
---|
Chunk() |
Modifier and Type | Method and Description |
---|---|
static Address |
align(Address ptr) |
private static void |
checkMetaDataCleared(Address chunk,
Address value) |
(package private) static void |
clearMetaData(Address chunk) |
(package private) static int |
getByteOffset(Address ptr) |
(package private) static Address |
getFirstUsableBlock(Address chunk) |
static Address |
getHighWater(Address chunk) |
(package private) static int |
getMap(Address chunk) |
(package private) static int |
getRequiredMetaDataPages() |
(package private) static boolean |
isAligned(Address ptr) |
(package private) static void |
resetLineMarksAndDefragStateTable(Address chunk,
short threshold) |
private static void |
setHighWater(Address chunk,
Address value) |
(package private) static void |
setMap(Address chunk,
int value) |
(package private) static void |
sweep(Address chunk,
Address end,
ImmixSpace space,
int[] markHistogram,
byte markValue,
boolean resetMarks) |
(package private) static void |
updateHighWater(Address value) |
private static final int LOG_BYTES_IN_HIGHWATER_ENTRY
private static final int HIGHWATER_BYTES
private static final int LOG_BYTES_IN_MAP_ENTRY
private static final int MAP_BYTES
static final int LINE_MARK_TABLE_OFFSET
static final int BLOCK_STATE_TABLE_OFFSET
static final int BLOCK_DEFRAG_STATE_TABLE_OFFSET
static final int HIGHWATER_OFFSET
static final int MAP_OFFSET
static final int METADATA_BYTES_PER_CHUNK
private static final int BLOCK_MASK
static final int ROUNDED_METADATA_BYTES_PER_CHUNK
static final int ROUNDED_METADATA_PAGES_PER_CHUNK
public static final int FIRST_USABLE_BLOCK_INDEX
public Chunk()
static int getByteOffset(Address ptr)
static int getRequiredMetaDataPages()
static void sweep(Address chunk, Address end, ImmixSpace space, int[] markHistogram, byte markValue, boolean resetMarks)
static void clearMetaData(Address chunk)
private static void checkMetaDataCleared(Address chunk, Address value)
static void updateHighWater(Address value)
private static void setHighWater(Address chunk, Address value)
public static Address getHighWater(Address chunk)
static void resetLineMarksAndDefragStateTable(Address chunk, short threshold)
static Address getFirstUsableBlock(Address chunk)