org.mmtk.utility.gcspy
Class LinearScan
java.lang.Object
org.mmtk.utility.alloc.LinearScan
org.mmtk.utility.gcspy.LinearScan
public class LinearScan
- extends LinearScan
This class is only necessary because we cannot implement
org.mmtk.utility.alloc.LinearScan as an interface since the invokeinterface
bytecode is forbidden in uninterruptible code.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
driver
private final AbstractDriver driver
LinearScan
public LinearScan(AbstractDriver d)
- Create a new scanner.
- Parameters:
d
- The GCspy driver that provides the callback.
scan
public void scan(ObjectReference obj)
- Scan an object. The object reference is passed to the scan method of the
GCspy driver registered with this scanner.
- Specified by:
scan
in class LinearScan
- Parameters:
obj
- The object to scan.