|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mmtk.plan.TransitiveClosure org.mmtk.plan.TraceLocal org.mmtk.plan.semispace.SSTraceLocal
public class SSTraceLocal
This class implements 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)
Is the specified object live? |
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)
isLive
in class TraceLocal
object
- The object.
true
if the object is live.public ObjectReference traceObject(ObjectReference object)
TraceLocal
traceObject
in class TraceLocal
object
- The object to be traced.
public boolean willNotMoveInCurrentCollection(ObjectReference object)
willNotMoveInCurrentCollection
in class TraceLocal
object
- The object to query.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |