memprof
Class memprof

java.lang.Object
  extended by memprof.memprof

public class memprof
extends java.lang.Object

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.

Since:
JIST1.0

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

VERSION

public static final java.lang.String VERSION
memory profiler version.

See Also:
Constant Field Values
Constructor Detail

memprof

public memprof()
Method Detail

dumpHeap

public static void dumpHeap(java.lang.String ident)
Request dump of the entire Java heap at this instant.

Parameters:
ident - some string identifier for this execution point

dumpOnShutdown

public static void dumpOnShutdown()
Request that heap information be displayed on shutdown.


showVersion

public static void showVersion()
Print version information.


showUsage

public static final void showUsage()
Print syntax information.


main

public static void main(java.lang.String[] args)
Entry point.

Parameters:
args - command-line parameters