public class HeapDumper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HEAP_DUMP_EXTENSION
Filename extension for heap dumps
|
| Constructor and Description |
|---|
HeapDumper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dumpHeap(File file,
boolean live)
Dump the heap snapshot into a file.
|
public static final String HEAP_DUMP_EXTENSION
public static void dumpHeap(File file, boolean live) throws ClassNotFoundException
file - The file in which the dump will be storedlive - Dump only live objects?ClassNotFoundExceptionCopyright © 2019. All rights reserved.