gnu.gcj.util
Class GCInfo
static void | dump(String name) - Dump a description of the heap state.
|
static void | enumerate(String namePrefix) - Create a heap dump.
|
static void | setOOMDump(String namePrefix) - Cause a heap dump if out-of-memory condition occurs.
|
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
dump
public static void dump(String name)
Dump a description of the heap state.
SecurityException
- if there is a SecurityManager installed
and UtilPermission("dumpHeap") is not granted.
enumerate
public static void enumerate(String namePrefix)
Create a heap dump.
namePrefix
- The filename prefix for the dump files.
SecurityException
- if there is a SecurityManager installed
and UtilPermission("dumpHeap") is not granted.
setOOMDump
public static void setOOMDump(String namePrefix)
Cause a heap dump if out-of-memory condition occurs.
namePrefix
- The filename prefix for the dump files. If
null no dumps are created.
SecurityException
- if there is a SecurityManager installed
and UtilPermission("dumpHeap") is not granted.
GCInfo.java -- Support for creating heap dumps.
Copyright (C) 2007 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details.