|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mmtk.plan.TransitiveClosure
org.mmtk.plan.TraceLocal
org.mmtk.utility.sanitychecker.SanityRootTraceLocal
public final class SanityRootTraceLocal
This class implements the parallel root-gathering part of a sanity check.
| Field Summary |
|---|
| Fields inherited from class org.mmtk.plan.TraceLocal |
|---|
rootLocations, values |
| Fields inherited from class org.mmtk.plan.TransitiveClosure |
|---|
specializedScan |
| Constructor Summary | |
|---|---|
SanityRootTraceLocal(Trace trace)
Constructor |
|
| Method Summary | |
|---|---|
void |
completeTrace()
Finishing processing all GC work. |
void |
copyRootValuesTo(TraceLocal trace)
Copy root values across to the 'real' single-threaded trace that will do the sanity checking. |
void |
processRoots()
Process delayed roots. |
ObjectReference |
traceObject(ObjectReference object,
boolean root)
Trace a root object, i.e. root must be true. |
boolean |
willNotMoveInCurrentCollection(ObjectReference object)
Will this object move from this point on, during the current trace ? |
| Methods inherited from class org.mmtk.plan.TransitiveClosure |
|---|
getSpecializedScanClass, registerSpecializedScan |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SanityRootTraceLocal(Trace trace)
| Method Detail |
|---|
public void copyRootValuesTo(TraceLocal trace)
public void processRoots()
processRoots in class TraceLocalpublic void completeTrace()
completeTrace in class TraceLocal
public ObjectReference traceObject(ObjectReference object,
boolean root)
true.
traceObject in class TraceLocalobject - The object to be traced.root - Is this object a root?
public boolean willNotMoveInCurrentCollection(ObjectReference object)
willNotMoveInCurrentCollection in class TraceLocalobject - The object to query.
true if the object will not move.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||