NonStop Server for Java 4.2 Programmer's Reference
XX:NewSize=nn The lower size bound.●
XX:MaxNewSize=nn The upper size bound.●
XX:SurvivorRatio=nn Tune the survivor spaces (illustrated in the Layout for Generations).●
For example:
java Xms512m Xmx512m XX:NewSize=256m XX:MaxNewSize=256m \
XX:SurvivorRatio=2 class
These options inform the JVM to set the initial size of the heap to 512 MB, the maximum heap to 512 MB, the new
generation to 256 MB (128 MB belongs to Eden and 2x64 MB survivor) and the old generation to 256 MB.
For details about all these parameters, see Java HotSpot VM Options
(http://java.sun.com/docs/hotspot/VMOptions.html)
For details about tuning garbage collection with the 1.4.2 Java Virtual Machine and for general performance tuning
information, see:
Tuning Garbage Collection with the 1.4.2 Java Virtual Machine
(http://java.sun.com/docs/hotspot/gc1.4.2/index.html)
●
The article Tuning Java I/O Performance
(http://java.sun.com/developer/technicalArticles/Programming/PerfTuning/)
●
The article, Turbo-charging Java HotSpot Virtual Machine, v1.4.x to Improve the Performance and
Scalability of Application Servers (http://java.sun.com/developer/technicalArticles/Programming/turbo/)
●
Java Performance Documentation (http://java.sun.com/docs/performance/)●
Note:
As described earlier, the NonStop Server for Java 4 does not support the throughput collector
(specified with the option XX:+UseParallelGC ) or the concurrent low pause collector
(specified with the option XX:+UseConcMarkSweepGC ).
●
Also, the following options do not apply either for the NonStop Server for Java 4 or the
NonStop system:
●
-XX:+UseBoundThreads Option to bind user level threads; Solaris specific
-XX:+UseAltSigs Solaris specific.
-XX:+UseV8InstrsOnly Only for Sparc (Solaris)
-XX:-AllowUserSignalHandlers Solaris specific
-XX:AltStackSize=nn Solaris specific
-XX:+MaxFDLimit Solaris specific
-XX:-UseBoundThreads Solaris specific
-XX:-UseLWPSynchronization Solaris specific
-XX:PreBlockSpin=nn Only for Linux
-XX:-UseISM Solaris specific
-XX:-UseMPSS Solaris specific
-XX:-UseSpinning Only for Linux