public class HeapDumper extends Object
| Constructor and Description |
|---|
HeapDumper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dumpHeap(String fileName,
boolean live)
Call this method from your application whenever you
want to dump the heap snapshot into a file.
|
public static void dumpHeap(String fileName, boolean live)
fileName - name of the heap dump filelive - flag that tells whether to dump
only the live objectsCopyright © 2016. All rights reserved.