public class HeapDump
extends java.lang.Object
| Constructor and Description |
|---|
HeapDump() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dumpHeap(java.lang.String fileName)
Dumps the java heap to the specified file in hprof format.
|
static java.lang.String |
to(java.lang.String fileName) |
public static java.lang.String to(java.lang.String fileName)
public static void dumpHeap(java.lang.String fileName)
fileName - the dump file name which must not already exist.