NonStop Server for Java 5.1 Tools Reference Pages

-d32
-d64
Selects whether the program is to be run in a 32-bit or 64-bit environment.
Note: These options are not valid with NonStop Server for Java 5.1, which uses only the
32-bit environment to run Java programs.
-Xeprof
The -Xeprof option generates profile data for HPjmeter. The -Xeprof option controls profiling of Java applications
running on JRE for NonStop operating system for the Java™ 2 Platform and collects method clock and CPU times,
method call count, and call graph. (For more information on HPjmeter, see www.hp.com/go/hpjmeter.)
Note: . Zero preparation profiling is started from the command line by sending a signal to the JVM to start
eprof. Engaging zero preparation profiling might have a short term impact on application performance as the
JVM adjusts to the demands of performing dynamic measurements
Synopsis
To profile your application, use:
java -Xeprof:options ApplicationClassName
To profile your applet, use:
appletviewer -J-Xeprof:options URL
where options is a list of key[=value] arguments separated by commas.
The following options are used in most of the cases:
For CPU time metrics with minimal intrusion:
-Xeprof
Exact call count information and object creation profiling:
-Xeprof:inlining=disable
To see the complete list of available options, use:
java -Xeprof:helps
After the profiled applet or application terminates execution, the Java Virtual Machine writes the profile data to a file in
the current directory. Use HPjmeter to analyze the file.
-Xeprof options
Generally, expect a twofold decrease of your Java application performance when profiling with -Xeprof. Depending on
your JRE version or platform, dynamically enabling and disabling profiling (see below) might introduce much higher
overhead for several minutes. It is advised that the data collection period is no shorter than 30 minutes.
The -Xeprof option needs to allocate memory to store the profile data. It uses the same memory pool as the JVM does.
If you specify a very large heap size (generally greater than 2GB), the JVM may run out of address space before it runs
out of memory.
off
Turn off -Xeprof profiling entirely. This is the default behavior for all SDKs up to 5.0.02. For SDK 5.0.03 and later, if