NonStop Server for Java 6.0 Programmer's Reference

NOTE: If the JREHOME environment variable is set, Java installed in the location pointed by
$JREHOME directory will take precedence.
The Dnsk.java.fastExec=true option reduces the latency of the Java
Runtime.exe()API, which isused to spawn a child process.
The Dynamic saveabend file creation feature helps to create a saveabend file of a running
Java process without aborting the Java process. Thus, the Java process continues normal
execution after a short pause, during which the saveabend file is created.
The -XX:ThreadTimeSlice[=T] option specifies the time slice for JVM-forced preemptive
thread scheduling.
The -XX:EnableCompilerSafepoints option improves the Garbage Collection
performance of an application on systems running J-series.
NOTE: The -XX:EnableCompilerSafepoints option must not be used if the application
uses a selectable segment.
Documentation Changes
The documentation changes are:
Updated information on the JREHOME environment variable in the following sections:
“Verifying the Java Installation (page 32)
“ENV” (page 35)
Added a note on the JREHOME variable in the “JREHOME” (page 39) section.
Updated the “Calling Java Methods from C or C++” (page 45) section.
Added information on the XX:ThreadTimeSlice option in the “Multithreaded Programming
(page 47) section.
Added a note on the “Preemptive User Threads On NonStop Server For Java (page 52)
feature.
Added the following sections:
“Dynamic Saveabend File Creation (page 52)
“Creating Child Process Using the -Dnsk.java.fastExec=true Option (page 52)
“GC Log Rotation (page 78)
Updated the procedure required to set up monitoring for a live Java applications in the
“Monitoring live Java applications (page 76) section.
Added a note on GC log rotation in the Analyzing Garbage Collection Data” (page 79)
section.
Provided references to the HPjmeter 4.0 User's Guide in the appropriate sections.
Replaced 'Appendix B: Addendum to HPjmeter 3.1 Users Guide' with 'Appendix B: Addendum
to HPjmeter 4.0 Users Guide'.
Changes added to this revision part number 546595-001 are:
“Feature Changes (page 11)
“Documentation Changes (page 12)
10