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, registerSpecializedScanprivate 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 TransitiveClosureobject - The object to enqueue