|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mmtk.vm.Scanning
public abstract class Scanning
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Scanning()
|
|
| Method Summary | |
|---|---|
abstract void |
computeBootImageRoots(TraceLocal trace)
Compute all roots out of the VM's boot image (if any). |
abstract void |
computeGlobalRoots(TraceLocal trace)
Computes global roots. |
abstract void |
computeStaticRoots(TraceLocal trace)
Computes static roots. |
abstract void |
computeThreadRoots(TraceLocal trace)
Computes roots pointed to by threads, their associated registers and stacks. |
abstract void |
notifyInitialThreadScanComplete()
Called the first time during a collection that thread's stacks have been scanned. |
abstract void |
resetThreadCounter()
Prepares for using the computeAllRoots method. |
abstract void |
scanObject(TransitiveClosure trace,
ObjectReference object)
Delegated scanning of a object, processing each pointer field encountered. |
abstract void |
specializedScanObject(int id,
TransitiveClosure trace,
ObjectReference object)
Invoke a specialized scan method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Scanning()
| Method Detail |
|---|
public abstract void scanObject(TransitiveClosure trace,
ObjectReference object)
object - The object to be scanned.
public abstract void specializedScanObject(int id,
TransitiveClosure trace,
ObjectReference object)
id - The specialized method idtrace - The trace the method has been specialized forobject - The object to be scannedpublic abstract void resetThreadCounter()
computeAllRoots method. The
thread counter allows multiple GC threads to co-operatively
iterate through the thread data structure (if load balancing
parallel GC threads were not important, the thread counter could
simply be replaced by a for loop).
public abstract void notifyInitialThreadScanComplete()
public abstract void computeStaticRoots(TraceLocal trace)
threadCounter must be reset so that load
balancing parallel GC can share the work of scanning threads.
trace - The trace to use for computing roots.public abstract void computeGlobalRoots(TraceLocal trace)
threadCounter must be reset so that load
balancing parallel GC can share the work of scanning threads.
trace - The trace to use for computing roots.public abstract void computeThreadRoots(TraceLocal trace)
threadCounter must be reset so that load
balancing parallel GC can share the work of scanning threads.
trace - The trace to use for computing roots.public abstract void computeBootImageRoots(TraceLocal trace)
trace - The trace object to use to report root locations.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||