5.7.1 Options to output the JavaVM log file
The options to output the JavaVM log file are as follows:
-
-XX:+HitachiOutOfMemoryStackTrace
It is an option to output the stack trace when OutOfMemoryError occurs. Note that the JavaVM log file is output even if you specify -XX:+HitachiOutOfMemorySize and -XX:+HitachiOutOfMemoryCause that are specified when you specify the -XX:+HitachiOutOfMemoryStackTrace option.
-
It is an option to output the extended verbosegc information when GC is performed. For acquiring the extended verbosegc information, see 5.7.2 Acquiring the extended verbosegc information.
-
This option is to output the API call trace of System.gc(), System.exit(), System.runFinalizersOnExit(), Runtime.exit(), Runtime.halt(), or Runtime.runFinalizersOnExit() APIs when either of them is executed.
Note that when you specify the -XX:HitachiJavaClassLibTraceLineSize option, the number of characters in the output trace are within the specified number of characters (number of bytes). When the number of characters in one line exceeds the specified value, the first half of the character string after at is deleted and the specified number of characters is output.
-
This option enables the JIT compiler continuation functionality. If the JIT compilation fails due to a logical inconsistency in a method configuring the application, the JIT compiler continuation functionality log is output to the JavaVM log file.
For details on the output contents when specifying each option, see the following points in the uCosminexus Application Server Definition Reference Guide:
-
-XX:[+|-]HitachiOutOfMemoryStackTrace (Option for stack trace output)
-
-XX:[+|-]HitachiVerboseGC (Option for extended verbosegc information output)
-
-XX:[+|-]HitachiJavaClassLibTrace (Option to output the stack trace of class library)
-
-XX:[+|-]JITCompilerContinuation (Option for the JIT compiler continuation functionality)