org.mmtk.vm
Class FinalizableProcessor

java.lang.Object
  extended by org.mmtk.vm.FinalizableProcessor
Direct Known Subclasses:
FinalizableProcessor

public abstract class FinalizableProcessor
extends Object

This class manages finalizable objects.


Constructor Summary
FinalizableProcessor()
           
 
Method Summary
abstract  void clear()
          Clear the contents of the table.
abstract  void forward(TraceLocal trace, boolean nursery)
          Iterate over and forward entries in the table.
abstract  void scan(TraceLocal trace, boolean nursery)
          Scan through the list of references.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FinalizableProcessor

public FinalizableProcessor()
Method Detail

clear

public abstract void clear()
Clear the contents of the table. This is called when finalization is disabled to make it easier for VMs to change this setting at runtime.


scan

public abstract void scan(TraceLocal trace,
                          boolean nursery)
Scan through the list of references.

Parameters:
trace - the thread local trace element.
nursery - true if it is safe to only scan new references.

forward

public abstract void forward(TraceLocal trace,
                             boolean nursery)
Iterate over and forward entries in the table.