public class TruffleTreeDumpHandler extends Object implements DebugDumpHandler
Constructor and Description |
---|
TruffleTreeDumpHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Flushes and releases resources managed by this dump handler.
|
void |
dump(Object object,
String message) |
private static void |
dumpFullTree(com.oracle.truffle.api.nodes.GraphPrintVisitor visitor,
String message,
OptimizedCallTarget oct) |
private static void |
dumpRootCallTarget(String message,
com.oracle.truffle.api.RootCallTarget callTarget) |
public TruffleTreeDumpHandler()
public void dump(Object object, String message)
dump
in interface DebugDumpHandler
private static void dumpRootCallTarget(String message, com.oracle.truffle.api.RootCallTarget callTarget)
private static void dumpFullTree(com.oracle.truffle.api.nodes.GraphPrintVisitor visitor, String message, OptimizedCallTarget oct)
public void close()
DebugDumpHandler
DebugDumpHandler.dump(Object, String)
will create and open new resources. That is, this method can be
used to reset the handler.close
in interface DebugDumpHandler
close
in interface Closeable
close
in interface AutoCloseable