public class HeapDumper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.sun.management.HotSpotDiagnosticMXBean |
diag |
| Constructor and Description |
|---|
HeapDumper() |
| Modifier and Type | Method and Description |
|---|---|
File |
dumpHeap()
Dumps heap in a temporary file and returns the file
|
protected com.sun.management.HotSpotDiagnosticMXBean |
newDiag() |
protected final com.sun.management.HotSpotDiagnosticMXBean diag
public HeapDumper() throws IOException
IOExceptionprotected com.sun.management.HotSpotDiagnosticMXBean newDiag() throws IOException
IOExceptionpublic File dumpHeap() throws IOException
IOExceptionCopyright © 2019 Nuxeo. All rights reserved.