public class ProHeapDump extends HeapDump
Constructor and Description |
---|
ProHeapDump() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
dump()
Returns an array of the HeapDump entries.
|
java.lang.Object |
getLastHeapDump()
Returns the last heap dump
|
static boolean |
isEnabled() |
java.lang.String |
jsonHeapDump() |
void |
logHeapDump(java.util.logging.Logger log,
java.util.logging.Level level) |
static java.lang.Object |
nativeHeapDump() |
void |
writeExtendedHeapDump(java.io.PrintWriter out)
Writes a text value of the heap dump to an output stream.
|
void |
writeHeapDump(java.io.PrintWriter out)
Writes a text value of the heap dump to an output stream.
|
create, isAvailable
public static boolean isEnabled()
public java.lang.Object getLastHeapDump()
HeapDump
getLastHeapDump
in class HeapDump
public java.lang.Object dump()
HeapDump
public void writeHeapDump(java.io.PrintWriter out) throws java.io.IOException
HeapDump
writeHeapDump
in class HeapDump
java.io.IOException
public void writeExtendedHeapDump(java.io.PrintWriter out) throws java.io.IOException
HeapDump
writeExtendedHeapDump
in class HeapDump
java.io.IOException
public java.lang.String jsonHeapDump()
jsonHeapDump
in class HeapDump
public void logHeapDump(java.util.logging.Logger log, java.util.logging.Level level)
logHeapDump
in class HeapDump
public static java.lang.Object nativeHeapDump()