public interface DebugDumpHandler extends Closeable, DebugHandler
| Modifier and Type | Method and Description |
|---|---|
default 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 dump(Object object, DebugContext debug, boolean forced, String format, Object... arguments)
object is supported by this dumper, then a representation of
object is sent to some consumer in a format determined by this object.object - 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 formatdefault void close()
DebugDumpHandler.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 AutoCloseableclose in interface Closeable