16.4 Default values of the Java HotSpot VM options that can be specified in Cosminexus

This section displays the default value of the Java HotSpot VM options. The default value differs for each OS.

Hint
The default values that are described in this section are valid for Java applications. For other applications, the default values in this table are not valid but the default value of the add.jvm.arg key in each option definition file is valid. For details about the default values for each option definition files, see 2.3 usrconf.cfg (Option definition file for J2EE servers) or 3.2 usrconf.cfg(Option definition file for batch servers).

The following table describes the default values of the Java HotSpot VM options for each OS:

Table 16-10 Default values of the Java HotSpot VM options

No.Option nameTypes of OS and JavaVM to be used
Windows
x86
Windows
x64
Linux (AMD64 & Intel EM64T)HP-UX (IPF)AIX
[client]#1[server]#1[server][server][server][server]
1-Xmxsize#264M64M83M83M83M83M
2-Xmssize#25120k5120k7.8M7.8M7.8M7.8M
3-XX:MaxPermSize=size#264M64M83M83M83M83M
4-XX:PermSize=size#212M16M20M20M20M20M
5-Xmnsize#4#4#4#4#4#4
6-Xsssize256k256k1M1M4M1M
7-XX:NewRatio=value#21282222
8-XX:SurvivorRatio=value#38883288
9-XX:TargetSurvivorRatio=value505050505050
10-XX:MaxTenuringThreshold=value141414141414
11-XX:ReservedCodeCacheSize=size32M48M48M48M128M48M
Legend:
Indicates that [client]: Java HotSpot Client VM is used.
Indicates that [server]: Java HotSpot Server VM is used.
Note:
Unit of size is bytes.
#1
You can select the JavaVM to be used according to the value specified in jvm.type key of the option definition file (usrconf.cfg).
#2
For J2EE servers, the default value of the add.jvm.arg key in the option definition file for J2EE servers (usrconf.cfg) is enabled. The default value of the option that is not defined in the add.jvm.arg key is the value mentioned in this table.
#3
If the Application Server version is version 08-00 or later, the default JavaVM values are overwritten on the J2EE server executed in the J2EE server mode. The default value after overwriting is -XX:SurvivorRatio=8. This is common in all platforms.
#4
Decided according to the Java heap and -XX:NewRatio.

See 16.5 Java HotSpot VM options that can be specified in Cosminexus.