@FunctionalInterface
protected static interface HeapDumpWebEndpoint.HeapDumper
| Modifier and Type | Method and Description |
|---|---|
void |
dumpHeap(java.io.File file,
boolean live)
Dump the current heap to the specified file.
|
void dumpHeap(java.io.File file,
boolean live)
throws java.io.IOException,
java.lang.InterruptedException
file - the file to dump the heap tolive - if only live objects (i.e. objects that are reachable from
others) should be dumpedjava.io.IOException - on IO errorjava.lang.InterruptedException - on thread interruption