org.apache.openejb.util
Class HeapDump

java.lang.Object
  extended by org.apache.openejb.util.HeapDump

public class HeapDump
extends Object

Version:
$Rev$ $Date$

Constructor Summary
HeapDump()
           
 
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
 

Constructor Detail

HeapDump

public HeapDump()
Method Detail

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.