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
IOException
protected com.sun.management.HotSpotDiagnosticMXBean newDiag() throws IOException
IOException
public File dumpHeap() throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.