public class HeapDumper
extends java.lang.Object
Constructor and Description |
---|
HeapDumper() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpHeap(java.io.File file)
Deprecated.
use
dumpHeap(String, boolean) instead |
static void |
dumpHeap(java.lang.String fileName,
boolean live)
Call this method from your application whenever you want to dump the heap snapshot into a file.
|
static void |
main(java.lang.String[] args) |
@Deprecated public static void dumpHeap(java.io.File file) throws java.lang.Exception
dumpHeap(String, boolean)
insteadfile
- a File in which to do the heap dump, must not be nulljava.lang.Exception
- if the dump could not be performedpublic static void dumpHeap(java.lang.String fileName, boolean live)
fileName
- name of the heap dump filelive
- flag that tells whether to dump only the live objectspublic static void main(java.lang.String[] args)
Copyright © 2001-2017 Jalios SA. All Rights Reserved.