public final class TraceWriteBuffer extends TransitiveClosure
TraceLocal
Modifier and Type | Field and Description |
---|---|
private WriteBuffer |
buffer |
specializedScan
Constructor and Description |
---|
TraceWriteBuffer(Trace trace)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flush the buffer to the trace.
|
boolean |
isFlushed() |
void |
processNode(ObjectReference object)
Enqueue an object during a trace.
|
getSpecializedScanClass, processEdge, registerSpecializedScan
private final WriteBuffer buffer
public TraceWriteBuffer(Trace trace)
trace
- The global trace class to use.public void flush()
public boolean isFlushed()
true
if the buffer is flushed.public void processNode(ObjectReference object)
processNode
in class TransitiveClosure
object
- The object to enqueue