|
|||||||||||
| 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.refcount.generational.GenRCFindRootSetTraceLocal
public final class GenRCFindRootSetTraceLocal
This class implements the thread-local core functionality for a transitive closure over the heap graph.
| Field Summary | |
|---|---|
private ObjectReferenceDeque |
rootBuffer
|
| Fields inherited from class org.mmtk.plan.TraceLocal |
|---|
rootLocations, values |
| Fields inherited from class org.mmtk.plan.TransitiveClosure |
|---|
specializedScan |
| Constructor Summary | |
|---|---|
GenRCFindRootSetTraceLocal(Trace trace,
ObjectReferenceDeque rootBuffer)
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)
When we trace a non-root object we do nothing. |
ObjectReference |
traceObject(ObjectReference object,
boolean root)
When we trace a root object we remember it. |
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.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 rootBuffer
| Constructor Detail |
|---|
public GenRCFindRootSetTraceLocal(Trace trace,
ObjectReferenceDeque rootBuffer)
| Method Detail |
|---|
public boolean isLive(ObjectReference object)
isLive in class TraceLocalobject - The object.
true if the object is reachable.public ObjectReference traceObject(ObjectReference object)
traceObject in class TraceLocalobject - The object to be traced.
public ObjectReference traceObject(ObjectReference object,
boolean root)
traceObject in class TraceLocalobject - The object to be traced.
public boolean willNotMoveInCurrentCollection(ObjectReference object)
willNotMoveInCurrentCollection in class TraceLocalobject - The object that must not move during the collection.
public ObjectReference precopyObject(ObjectReference object)
precopyObject in class TraceLocalobject - The object that must not move
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||