|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.mm.mmtk.ScanStatics
public final class ScanStatics
Class that determines all JTOC slots (statics) that hold references
| Field Summary | |
|---|---|
private static int |
chunkSizeMask
Mask used when calculating the chunkSize to ensure chunks are 64bit aligned on 64bit architectures |
private static int |
refSlotSize
Size in 32bits words of a JTOC slot (ie 32bit addresses = 1, 64bit addresses =2) |
| Constructor Summary | |
|---|---|
ScanStatics()
|
|
| Method Summary | |
|---|---|
private static void |
checkReference(Address refaddr,
int slot)
Check that a reference encountered during scanning is valid. |
static void |
scanStatics(TraceLocal trace)
Scan static variables (JTOC) for object references. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int refSlotSize
private static final int chunkSizeMask
| Constructor Detail |
|---|
public ScanStatics()
| Method Detail |
|---|
public static void scanStatics(TraceLocal trace)
private static void checkReference(Address refaddr,
int slot)
refaddr - The address of the reference in question.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||