|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmemprof.memprof
public class memprof
JiST memory profile library. To use this library you run Java as:
java -Xrunmemprof[:<filename>]
where the filename is optional. If omitted, the memory profile will be
dumped on standard error. By default, a memory dump will be taken during
JVM shutdown, unless a dump has been requested earlier using the
dumpHeap
function. A memory dump at shutdown may requested
nonetheless using the dumpOnShutdown
function.
Field Summary | |
---|---|
static java.lang.String |
VERSION
memory profiler version. |
Constructor Summary | |
---|---|
memprof()
|
Method Summary | |
---|---|
static void |
dumpHeap(java.lang.String ident)
Request dump of the entire Java heap at this instant. |
static void |
dumpOnShutdown()
Request that heap information be displayed on shutdown. |
static void |
main(java.lang.String[] args)
Entry point. |
static void |
showUsage()
Print syntax information. |
static void |
showVersion()
Print version information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VERSION
Constructor Detail |
---|
public memprof()
Method Detail |
---|
public static void dumpHeap(java.lang.String ident)
ident
- some string identifier for this execution pointpublic static void dumpOnShutdown()
public static void showVersion()
public static final void showUsage()
public static void main(java.lang.String[] args)
args
- command-line parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |