public final class GenNurseryTraceLocal extends TraceLocal
Modifier and Type | Field and Description |
---|---|
private AddressPairDeque |
arrayRemset |
private ObjectReferenceDeque |
modbuf |
private AddressDeque |
remset |
rootLocations, values
specializedScan
Constructor and Description |
---|
GenNurseryTraceLocal(Trace trace,
GenCollector plan) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLive(ObjectReference object)
Is the specified object live?
|
protected void |
processRememberedSets()
Process any remembered set entries.
|
ObjectReference |
traceObject(ObjectReference object)
This method is the core method during the trace of the object graph.
|
boolean |
willNotMoveInCurrentCollection(ObjectReference object)
Will the object move from now on during the collection.
|
completeTrace, flush, getForwardedFinalizable, getForwardedReference, getForwardedReferenceType, getForwardedReferent, incrementalTrace, isReachable, isReferentLive, logMessage, overwriteReferenceDuringTrace, prepare, processEdge, processInteriorEdge, processNode, processRootEdge, processRoots, readyToFinalize, release, reportDelayedRootEdge, retainForFinalize, retainReferent, scanObject, traceObject
getSpecializedScanClass, registerSpecializedScan
private final ObjectReferenceDeque modbuf
private final AddressDeque remset
private final AddressPairDeque arrayRemset
public GenNurseryTraceLocal(Trace trace, GenCollector plan)
trace
- the global trace class to useplan
- the state of the generational collectorpublic boolean isLive(ObjectReference object)
isLive
in class TraceLocal
object
- The object.true
if the object is live.public ObjectReference traceObject(ObjectReference object)
TraceLocal
traceObject
in class TraceLocal
object
- The object to be traced.protected void processRememberedSets()
processRememberedSets
in class TraceLocal
public boolean willNotMoveInCurrentCollection(ObjectReference object)
willNotMoveInCurrentCollection
in class TraceLocal
object
- The object to query.true
if the object is guaranteed not to move.