|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmtk.plan.TransitiveClosure
org.mmtk.plan.TraceLocal
org.mmtk.plan.immix.ImmixDefragTraceLocal
public final class ImmixDefragTraceLocal
This class implements the thread-local functionality for a defragmenting transitive closure over an immix space.
| Field Summary | |
|---|---|
private ObjectReferenceDeque |
modBuffer
Instance fields |
| Fields inherited from class org.mmtk.plan.TraceLocal |
|---|
rootLocations, values |
| Fields inherited from class org.mmtk.plan.TransitiveClosure |
|---|
specializedScan |
| Constructor Summary | |
|---|---|
ImmixDefragTraceLocal(Trace trace,
ObjectReferenceDeque modBuffer)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
isLive(ObjectReference object)
Is the specified object live? |
ObjectReference |
precopyObject(ObjectReference object)
Ensure that this object will not move for the rest of the GC. |
protected void |
processRememberedSets()
Process any remembered set entries. |
protected void |
scanObject(ObjectReference object)
Collectors that move objects must override this method. |
ObjectReference |
traceObject(ObjectReference object)
This method is the core method during the trace of the object graph. |
boolean |
willNotMoveInCurrentCollection(ObjectReference object)
Ensure that the referenced object will not move from this point through to the end of the collection. |
| Methods inherited from class org.mmtk.plan.TraceLocal |
|---|
completeTrace, flush, getForwardedFinalizable, getForwardedReference, getForwardedReferenceType, getForwardedReferent, incrementalTrace, isReachable, isReferentLive, logMessage, prepare, processEdge, processInteriorEdge, processNode, processPrecopyEdge, processRootEdge, processRoots, readyToFinalize, release, reportDelayedRootEdge, retainForFinalize, retainReferent, traceObject |
| Methods inherited from class org.mmtk.plan.TransitiveClosure |
|---|
getSpecializedScanClass, registerSpecializedScan |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final ObjectReferenceDeque modBuffer
| Constructor Detail |
|---|
public ImmixDefragTraceLocal(Trace trace,
ObjectReferenceDeque modBuffer)
modBuffer - TODO| Method Detail |
|---|
public boolean isLive(ObjectReference object)
isLive in class TraceLocalobject - The object.
public ObjectReference traceObject(ObjectReference object)
traceObject in class TraceLocalobject - The object to be traced.
public ObjectReference precopyObject(ObjectReference object)
TraceLocal
precopyObject in class TraceLocalobject - The object that must not move
public boolean willNotMoveInCurrentCollection(ObjectReference object)
TraceLocal
willNotMoveInCurrentCollection in class TraceLocalobject - The object that must not move during the collection.
protected void scanObject(ObjectReference object)
scanObject in class TraceLocalobject - The forwarded object to be scannedprotected void processRememberedSets()
processRememberedSets in class TraceLocal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||