public abstract class FinalizableProcessor extends Object
Constructor and Description |
---|
FinalizableProcessor() |
Modifier and Type | Method and Description |
---|---|
abstract void |
clear()
Clear the contents of the table.
|
abstract void |
forward(TraceLocal trace,
boolean nursery)
Iterates over and forward entries in the table.
|
abstract void |
scan(TraceLocal trace,
boolean nursery)
Scan through the list of references.
|
public FinalizableProcessor()
public abstract void clear()
public abstract void scan(TraceLocal trace, boolean nursery)
trace
- the thread local trace element.nursery
- true
if it is safe to only scan new references.public abstract void forward(TraceLocal trace, boolean nursery)
trace
- the trace to use for the processing of the referencesnursery
- if true
, scan only references generated since
last scan. Otherwise, scan all references.