public final class RCFindRootSetTraceLocal extends TraceLocal
Modifier and Type | Field and Description |
---|---|
private ObjectReferenceDeque |
rootBuffer |
rootLocations, values
specializedScan
Constructor and Description |
---|
RCFindRootSetTraceLocal(Trace trace,
ObjectReferenceDeque rootBuffer) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLive(ObjectReference object)
Is the specified object reachable?
|
ObjectReference |
traceObject(ObjectReference object)
When we trace a non-root object we do nothing.
|
ObjectReference |
traceObject(ObjectReference object,
boolean root)
When we trace a root object we remember it.
|
completeTrace, flush, getForwardedFinalizable, getForwardedReference, getForwardedReferenceType, getForwardedReferent, incrementalTrace, isReachable, isReferentLive, logMessage, overwriteReferenceDuringTrace, prepare, processEdge, processInteriorEdge, processNode, processRememberedSets, processRootEdge, processRoots, readyToFinalize, release, reportDelayedRootEdge, retainForFinalize, retainReferent, scanObject, willNotMoveInCurrentCollection
getSpecializedScanClass, registerSpecializedScan
private final ObjectReferenceDeque rootBuffer
public RCFindRootSetTraceLocal(Trace trace, ObjectReferenceDeque rootBuffer)
public boolean isLive(ObjectReference object)
isLive
in class TraceLocal
object
- The object.true
if the object is reachable.public ObjectReference traceObject(ObjectReference object)
traceObject
in class TraceLocal
object
- The object to be traced.public ObjectReference traceObject(ObjectReference object, boolean root)
traceObject
in class TraceLocal
object
- The object to be traced.root
- Is this object a root?