|
|||||||||||
| 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.copyms.CopyMSTraceLocal
public final class CopyMSTraceLocal
This class implements the thread-local functionality for a transitive closure over a coping/mark-sweep hybrid collector.
| Field Summary |
|---|
| Fields inherited from class org.mmtk.plan.TraceLocal |
|---|
rootLocations, values |
| Fields inherited from class org.mmtk.plan.TransitiveClosure |
|---|
specializedScan |
| Constructor Summary | |
|---|---|
CopyMSTraceLocal(Trace trace)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
isLive(ObjectReference object)
Is the specified object reachable? |
ObjectReference |
precopyObject(ObjectReference object)
Ensure that this object will not move for the rest of the GC. |
ObjectReference |
traceObject(ObjectReference object)
This method is the core method during the trace of the object graph. |
boolean |
willNotMoveInCurrentCollection(ObjectReference object)
Will this object move from this point on, during the current collection ? |
| 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 CopyMSTraceLocal(Trace trace)
| 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)
precopyObject in class TraceLocalobject - The object that must not move
public boolean willNotMoveInCurrentCollection(ObjectReference object)
willNotMoveInCurrentCollection in class TraceLocalobject - The object to query.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||