public final class MSTraceLocal extends TraceLocal
Modifier and Type | Field and Description |
---|---|
private ObjectReferenceDeque |
modBuffer |
rootLocations, values
specializedScan
Constructor and Description |
---|
MSTraceLocal(Trace trace,
ObjectReferenceDeque modBuffer) |
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.
|
completeTrace, flush, getForwardedFinalizable, getForwardedReference, getForwardedReferenceType, getForwardedReferent, incrementalTrace, isReachable, isReferentLive, logMessage, overwriteReferenceDuringTrace, prepare, processEdge, processInteriorEdge, processNode, processRootEdge, processRoots, readyToFinalize, release, reportDelayedRootEdge, retainForFinalize, retainReferent, scanObject, traceObject, willNotMoveInCurrentCollection
getSpecializedScanClass, registerSpecializedScan
private final ObjectReferenceDeque modBuffer
public MSTraceLocal(Trace trace, ObjectReferenceDeque modBuffer)
public 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.protected void processRememberedSets()
processRememberedSets
in class TraceLocal