uCosminexus Application Server, Definition Reference Guide

[Contents][Index][Back][Next]

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 name Types 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#2 64M 64M 83M 83M 83M 83M
2 -Xmssize#2 5120k 5120k 7.8M 7.8M 7.8M 7.8M
3 -XX:MaxPermSize=size#2 64M 64M 83M 83M 83M 83M
4 -XX:PermSize=size#2 12M 16M 20M 20M 20M 20M
5 -Xmnsize #4 #4 #4 #4 #4 #4
6 -Xsssize 256k 256k 1M 1M 4M 1M
7 -XX:NewRatio=value#2 12 8 2 2 2 2
8 -XX:SurvivorRatio=value#3 8 8 8 32 8 8
9 -XX:TargetSurvivorRatio=value 50 50 50 50 50 50
10 -XX:MaxTenuringThreshold=value 14 14 14 14 14 14
11 -XX:ReservedCodeCacheSize=size 32M 48M 48M 48M 128M 48M

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.