public final class MCForwardTraceLocal extends TraceLocal
rootLocations, values
specializedScan
Constructor and Description |
---|
MCForwardTraceLocal(Trace trace) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLive(ObjectReference object)
Is the specified object live?
|
ObjectReference |
traceObject(ObjectReference object)
This method is the core method during the trace of the object graph.
|
boolean |
willNotMoveInCurrentCollection(ObjectReference object)
Will this object move from this point on, during the current trace ?
|
completeTrace, flush, getForwardedFinalizable, getForwardedReference, getForwardedReferenceType, getForwardedReferent, incrementalTrace, isReachable, isReferentLive, logMessage, overwriteReferenceDuringTrace, prepare, processEdge, processInteriorEdge, processNode, processRememberedSets, processRootEdge, processRoots, readyToFinalize, release, reportDelayedRootEdge, retainForFinalize, retainReferent, scanObject, traceObject
getSpecializedScanClass, registerSpecializedScan
public MCForwardTraceLocal(Trace trace)
trace
- the associated global tracepublic boolean isLive(ObjectReference object)
isLive
in class TraceLocal
object
- The object.true
if the object is live.public ObjectReference traceObject(ObjectReference object)
In this instance, we refer objects in the mark-sweep space to the msSpace for tracing, and defer to the superclass for all others.
traceObject
in class TraceLocal
object
- The object to be traced.public boolean willNotMoveInCurrentCollection(ObjectReference object)
willNotMoveInCurrentCollection
in class TraceLocal
object
- The object to query.true
if the object will not move.