|
|||||||||||
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.generational.GenMatureTraceLocal
public abstract class GenMatureTraceLocal
This abstract class implements the core functionality for a transitive closure over the heap graph.
Field Summary | |
---|---|
private AddressPairDeque |
arrayRemset
|
private ObjectReferenceDeque |
modbuf
|
private AddressDeque |
remset
|
Fields inherited from class org.mmtk.plan.TraceLocal |
---|
rootLocations, values |
Fields inherited from class org.mmtk.plan.TransitiveClosure |
---|
specializedScan |
Constructor Summary | |
---|---|
GenMatureTraceLocal(int specializedScan,
Trace trace,
GenCollector plan)
Constructor |
|
GenMatureTraceLocal(Trace trace,
GenCollector plan)
Constructor |
Method Summary | |
---|---|
boolean |
isLive(ObjectReference object)
Is the specified object live? |
protected void |
processRememberedSets()
Process any remembered set entries. |
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 definitely not an unforwarded
object). |
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 modbuf
private final AddressDeque remset
private final AddressPairDeque arrayRemset
Constructor Detail |
---|
public GenMatureTraceLocal(int specializedScan, Trace trace, GenCollector plan)
public GenMatureTraceLocal(Trace trace, GenCollector plan)
Method Detail |
---|
public boolean isLive(ObjectReference object)
isLive
in class TraceLocal
object
- The object.
true
if the object is live.public boolean willNotMoveInCurrentCollection(ObjectReference object)
true
if this object is guaranteed not to move during this
collection (i.e. this object is definitely not an unforwarded
object).
willNotMoveInCurrentCollection
in class TraceLocal
object
-
true
if this object is guaranteed not to move during this
collection.public ObjectReference traceObject(ObjectReference object)
TraceLocal
traceObject
in class TraceLocal
object
- The object to be traced.
protected void processRememberedSets()
processRememberedSets
in class TraceLocal
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |