This section discusses Hitachi JavaVM options. You can specify Hitachi JavaVM options in the following files:
The table below lists and describes the JavaVM options. In this table, the default value is the value that is assumed when the corresponding JavaVM option is omitted from the JavaVM options file for SDP servers (jvm_options.cfg) or the JavaVM options file for RMI connections (jvm_client_options.cfg).
Table 8-9 List of JavaVM options
No. | Classification | Option name | Description |
---|---|---|---|
1 | Options for specifying the size and ratio of JavaVM memory space | -Xmssize#1 | Specifies the initial Java heap size. |
-Xmxsize#1 | Specifies the maximum Java heap size. | ||
-XX:NewRatio=value | Specifies the ratio of the Tenured area to the DefNew area. If value is 2, the ratio of the Tenured area to the DefNew area is 1:2. | ||
-XX:PermSize=size#1 | Specifies the initial size of the Permanent area. | ||
-XX:MaxPermSize=size#1 | Specifies the maximum size of the Permanent area. | ||
2 | Extended thread dump function option | -XX:[+|-]HitachiThreadDumpToStdout | Specifies whether a thread dump is to be output to the standard output:
|
3 | Hitachi JavaVM log file options | -XX:HitachiJavaLog:character-string | Specifies a prefix for the log file name. A log file name is created in the format character-stringxx.log (xx: serial number, 01 to 99). For example, if you specify Samp for character-string, the log file name would be Samp01.log. For character-string, you can also specify a path. If you specify a directory for character-string, a log file is created with the default name in the specified directory. The default value is javalog. |
-XX:HitachiJavaLogFileSize=integer-value | Specifies the maximum size of one file (in kilobytes), as an integer from 1024 to the value of INT_MAX. If the specified value exceeds the maximum size, nothing will be output to that file. The default value is 256. If the specified value is not within the permitted value range, 1024 is assumed. | ||
-XX:HitachiJavaLogNumberOfFile=integer-value | Specifies the maximum number of files that can be created (in order to limit the number of log files), as an integer from 1 to 99. When the maximum number of files is reached, data is output again to the first file that was created. The default value is 4. If a value greater than 99 is specified, 99 is assumed. If 0 or a smaller value is specified, 1 is assumed. | ||
4 | Detailed time output option | -XX:[+|-]HitachiOutputMilliTime | Specifies whether the time is to be output in milliseconds:
|
5 | Extended verbosegc function option | -XX:[+|-]HitachiVerboseGC#2 | Specifies whether the extended verbosegc information is to be output when a garbage collection occurs:
|
-XX:[+|-]HitachiVerboseGCPrintCause#3 | Specifies whether the cause of garbage collection is to be output.
| ||
6 | Extended function option in the event of OutOfMemoryError | -XX:[+|-]HitachiOutOfMemoryStackTrace#2 | Specifies whether a stack trace is to be output in the event of OutOfMemoryError.
|
7 | Class library trace function options | -XX:[+|-]HitachiJavaClassLibTrace#2 | Specifies whether a stack trace is to be output for the class library.
|
-XX:HitachiJavaClassLibTraceLineSize=integer-value | Specifies the number of characters (in bytes) per line of class library stack trace, as an integer from 1024 to the value of INT_MAX. If there are more characters than specified, the leading part of the character string that follows at is deleted and as many characters as are specified are output. The default value is 1024. If the specified value is not within the permitted value range, 1024 is assumed. | ||
8 | Local variable information output function options | -XX:[+|-]HitachiLocalsInStackTrace | Specifies whether the local variable information is to be output to the stack trace during a thread dump output.
|
-XX:[+|-]HitachiLocalsSimpleFormat | Specifies whether the simple format is to be used to output local variable information.
| ||
-XX:[+|-]HitachiTrueTypeInLocals | Specifies whether the actual type name of a local variable object is to be output as a character string when the local variable information is output.
|