Modifier and Type | Field and Description |
---|---|
(package private) static int |
BYTES_IN_LINE_STATUS |
(package private) static int |
LINE_MARK_BYTES_PER_BLOCK |
(package private) static int |
LINE_MARK_TABLE_BYTES |
(package private) static int |
LOG_BYTES_IN_LINE_STATUS |
(package private) static int |
LOG_LINE_MARK_BYTES_PER_BLOCK |
Constructor and Description |
---|
Line() |
Modifier and Type | Method and Description |
---|---|
static Address |
align(Address ptr) |
static Address |
getBlockMarkTable(Address block) |
(package private) static int |
getChunkIndex(Address line) |
static Address |
getChunkMarkTable(Address chunk) |
private static Address |
getMarkAddress(Address address) |
private static Address |
getMetaAddress(Address address,
int tableOffset) |
static int |
getNextAvailable(Address baseLineAvailAddress,
int line,
byte unavailableState) |
static int |
getNextUnavailable(Address baseLineAvailAddress,
int line,
byte unavailableState) |
static boolean |
isAligned(Address address) |
(package private) static void |
mark(Address address,
byte markValue)
Marks a line.
|
(package private) static void |
markMultiLine(Address start,
ObjectReference object,
byte markValue) |
static final int LOG_BYTES_IN_LINE_STATUS
static final int BYTES_IN_LINE_STATUS
static final int LINE_MARK_TABLE_BYTES
static final int LOG_LINE_MARK_BYTES_PER_BLOCK
static final int LINE_MARK_BYTES_PER_BLOCK
public Line()
static int getChunkIndex(Address line)
static void mark(Address address, byte markValue)
address
- the line's addressmarkValue
- the value to use for markingstatic void markMultiLine(Address start, ObjectReference object, byte markValue)
public static Address getChunkMarkTable(Address chunk)
chunk
- the chunk's addresspublic static Address getBlockMarkTable(Address block)
public static int getNextUnavailable(Address baseLineAvailAddress, int line, byte unavailableState)
public static int getNextAvailable(Address baseLineAvailAddress, int line, byte unavailableState)
private static Address getMetaAddress(Address address, int tableOffset)
private static Address getMarkAddress(Address address)