|
|||||||||||
| 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.generational.GenMatureTraceLocal
org.mmtk.plan.generational.immix.GenImmixMatureDefragTraceLocal
public final class GenImmixMatureDefragTraceLocal
This class implments the core functionality for a transitive closure over the heap graph, specifically in a defragmenting pass over a generational immix collector.
| Field Summary |
|---|
| Fields inherited from class org.mmtk.plan.TraceLocal |
|---|
rootLocations, values |
| Fields inherited from class org.mmtk.plan.TransitiveClosure |
|---|
specializedScan |
| Constructor Summary | |
|---|---|
GenImmixMatureDefragTraceLocal(Trace global,
GenCollector plan)
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 |
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)
Return true if this object is guaranteed not to move during this collection (i.e. this object is defintely not an unforwarded object). |
| Methods inherited from class org.mmtk.plan.generational.GenMatureTraceLocal |
|---|
processRememberedSets |
| 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 |
| Constructor Detail |
|---|
public GenImmixMatureDefragTraceLocal(Trace global,
GenCollector plan)
| Method Detail |
|---|
public boolean isLive(ObjectReference object)
isLive in class GenMatureTraceLocalobject - The object.
public ObjectReference traceObject(ObjectReference object)
traceObject in class GenMatureTraceLocalobject - 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)
willNotMoveInCurrentCollection in class GenMatureTraceLocalobject -
protected void scanObject(ObjectReference object)
scanObject in class TraceLocalobject - The forwarded object to be scanned
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||