@FunctionalInterface protected static interface HeapDumpWebEndpoint.HeapDumper
Modifier and Type | Method and Description |
---|---|
void |
dumpHeap(File file,
boolean live)
Dump the current heap to the specified file.
|
void dumpHeap(File file, boolean live) throws IOException, InterruptedException
file
- the file to dump the heap tolive
- if only live objects (i.e. objects that are reachable from
others) should be dumpedIOException
- on IO errorInterruptedException
- on thread interruptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.