org.apache.openejb.util
Class HeapDump
java.lang.Object
org.apache.openejb.util.HeapDump
public class HeapDump
- extends Object
- Version:
- $Rev$ $Date$
Method Summary |
static void |
dumpHeap(String fileName)
Dumps the java heap to the specified file in hprof format. |
static String |
to(String fileName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeapDump
public HeapDump()
to
public static String to(String fileName)
dumpHeap
public static void dumpHeap(String fileName)
- Dumps the java heap to the specified file in hprof format.
This method will not overwrite the dump file, so make sure it doesn't already exist.
- Parameters:
fileName
- the dump file name which must not already exist.
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.