public class CFGPrinterObserver extends Object implements DebugDumpHandler
CFGPrinter to produce a control flow graph for the
C1 Visualizer.| Constructor and Description |
|---|
CFGPrinterObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Flushes and releases resources managed by this dump handler.
|
void |
dump(Object object,
DebugContext debug,
boolean forced,
String format,
Object... arguments)
If the type of
object is supported by this dumper, then a representation of
object is sent to some consumer in a format determined by this object. |
void |
dumpSandboxed(DebugContext debug,
Object object,
boolean forced,
String message) |
void |
dumpSandboxed(DebugContext debug,
Object object,
String message) |
public void dump(Object object, DebugContext debug, boolean forced, String format, Object... arguments)
DebugDumpHandlerobject is supported by this dumper, then a representation of
object is sent to some consumer in a format determined by this object.dump in interface DebugDumpHandlerobject - the object to be dumpeddebug - the debug context requesting the dumpforced - true if called from DebugContext.forceDump(Object, String, Object...)format - a format string specifying a title that describes the context of the dump
(e.g., the compiler phase in which request is made)arguments - arguments referenced by the format specifiers in formatpublic void dumpSandboxed(DebugContext debug, Object object, boolean forced, String message)
public void dumpSandboxed(DebugContext debug, Object object, String message)
public void close()
DebugDumpHandlerDebugDumpHandler.dump(java.lang.Object, org.graalvm.compiler.debug.DebugContext, boolean, java.lang.String, java.lang.Object...) will create and open new resources. That is, this method can be used to reset
the handler.close in interface Closeableclose in interface AutoCloseableclose in interface DebugDumpHandler