public final class SanityRootTraceLocal extends TraceLocal
rootLocations, values
specializedScan
Constructor and Description |
---|
SanityRootTraceLocal(Trace trace) |
Modifier and Type | Method and Description |
---|---|
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 ?
|
flush, getForwardedFinalizable, getForwardedReference, getForwardedReferenceType, getForwardedReferent, incrementalTrace, isLive, isReachable, isReferentLive, logMessage, overwriteReferenceDuringTrace, prepare, processEdge, processInteriorEdge, processNode, processRememberedSets, processRootEdge, readyToFinalize, release, reportDelayedRootEdge, retainForFinalize, retainReferent, scanObject, traceObject
getSpecializedScanClass, registerSpecializedScan
public SanityRootTraceLocal(Trace trace)
public void copyRootValuesTo(TraceLocal trace)
trace
- the trace that will do the sanity checkingpublic void processRoots()
processRoots
in class TraceLocal
public void completeTrace()
completeTrace
in class TraceLocal
public ObjectReference traceObject(ObjectReference object, boolean root)
true
.traceObject
in class TraceLocal
object
- The object to be traced.root
- Is this object a root?public boolean willNotMoveInCurrentCollection(ObjectReference object)
willNotMoveInCurrentCollection
in class TraceLocal
object
- The object to query.true
if the object will not move.