public final class GenRCFindRootSetTraceLocal extends TraceLocal
Modifier and Type | Field and Description |
---|---|
private ObjectReferenceDeque |
rootBuffer |
rootLocations, values
specializedScan
Constructor and Description |
---|
GenRCFindRootSetTraceLocal(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.
|
boolean |
willNotMoveInCurrentCollection(ObjectReference object)
Ensure that the referenced object will not move from this point through
to the end of the collection.
|
completeTrace, flush, getForwardedFinalizable, getForwardedReference, getForwardedReferenceType, getForwardedReferent, incrementalTrace, isReachable, isReferentLive, logMessage, overwriteReferenceDuringTrace, prepare, processEdge, processInteriorEdge, processNode, processRememberedSets, processRootEdge, processRoots, readyToFinalize, release, reportDelayedRootEdge, retainForFinalize, retainReferent, scanObject
getSpecializedScanClass, registerSpecializedScan
private final ObjectReferenceDeque rootBuffer
public GenRCFindRootSetTraceLocal(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?public boolean willNotMoveInCurrentCollection(ObjectReference object)
TraceLocal
willNotMoveInCurrentCollection
in class TraceLocal
object
- The object that must not move during the collection.true
If the object will not move during collection