|
|||||||||||
| 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.semispace.SSTraceLocal
public class SSTraceLocal
This class implments the core functionality for a transitive closure over the heap graph.
| Field Summary |
|---|
| Fields inherited from class org.mmtk.plan.TraceLocal |
|---|
rootLocations, values |
| Fields inherited from class org.mmtk.plan.TransitiveClosure |
|---|
specializedScan |
| Constructor Summary | |
|---|---|
SSTraceLocal(Trace trace)
Constructor |
|
SSTraceLocal(Trace trace,
boolean specialized)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
isLive(ObjectReference object)
Return true if obj is a live object. |
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 trace ? |
| 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 SSTraceLocal(Trace trace,
boolean specialized)
public SSTraceLocal(Trace trace)
| Method Detail |
|---|
public boolean isLive(ObjectReference object)
obj is a live object.
isLive in class TraceLocalobject - The object in question
obj is a live 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 | ||||||||||