Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


7.14.1 -XX:[+|-]JITCompilerContinuation

-XX:[+|-]JITCompilerContinuation specifies whether to enable the JIT compiler continuation functionality.

Description

-XX:[+|-]JITCompilerContinuation specifies whether to enable the JIT compiler continuation functionality.

We recommend that you enable this functionality, so that applications continue to run normally even if JIT compilation fails due to a logical inconsistency in the methods that make up the application.

If you enable the JIT compiler continuation functionality, even if the JIT compilation fails due to a logical inconsistency in the methods that make up the application, Java VM outputs the log of this functionality to the Java VM log file and then continues processing. In such cases, subsequent compilation of methods for which JIT compilation failed will be executed by using the interpreter. Of the methods that make up an application, methods other than those for which JIT compilation failed will be executed by using JIT compilation. As a result, the application continues to run normally. However, if JIT compilation fails six times or more, Java VM outputs an error report file, and a memory dump or core dump, and then forcibly terminates the processing.

If you disable the JIT compiler continuation functionality, when JIT compilation fails due to a logical inconsistency in the methods that make up the application, Java VM outputs an error report file, and a memory dump or core dump, and then forcibly terminates the processing.

Prerequisite options
  • -server

  • -XX:+HitachiVerboseGC

Format of output
[id]
Note

After [id], the log of the JIT compiler continuation functionality is output.

The following provides details about the output.

Output item

Output content

id

JCC (Java VM log file identifier)

Syntax

-XX:[+|-]JITCompilerContinuation

Specifiable values

Type: String

-XX:+JITCompilerContinuation

Enables the JIT compiler continuation functionality.

-XX:-JITCompilerContinuation

Disables the JIT compiler continuation functionality.

Default value

If the definition item is omitted:

-XX:+JITCompilerContinuation

Example

[JCC][Thread:  0x05432c00]<Thu Nov 15 17:10:40 2012>[Method:  jit_sample.func()V]
[Fail:  3][JITCT:  1]
[JCC][Thread:  0x05432c00][PC:  0x083aff9a][Lib:  D:\work\jdk\jre\bin\server\
jvm.dll+0x3aff9a][VM:  Java HotSpot(TM) Server VM 
(20.8-b03-CDK0950-20121115 mixed mode windows-x86 )]
[JCC][Thread:  0x05432c00][EAX=0x00000000, EBX=0x00618128, ECX=0x00000000,
 EDX=0x05485340]
[JCC][Thread:  0x05432c00][ESP=0x0566d3c0, EBP=0x0566d3c4, ESI=0x00618278,
 EDI=0x00000000]
[JCC][Thread:  0x05432c00][EIP=0x083aff9a, EFLAGS=0x00010202]
[JCC][Thread:  0x05432c00][siginfo:  read 0x00000000]
[JCC][Thread:  0x05432c00][Unlock:  MethodCompileQueue_lock]
[JCC][Thread:  0x05432c00][NewJITCT:  0x05438800][JITCT:  2]
[JCC][Thread:  0x05432c00][Free:  "ResourceArea" 524288 bytes.]
[JCC][Thread:  0x05432c00][stop]
[JCC][Fail:  1][date:  Thu Nov 15 10:10:40 2012][Method:  jit_sample.func1
(Ljava/lang/String;)V][PC:  0x083ff00a]
[Lib:  D:\work\jdk\jre\bin\server\jvm.dll+0x3ff00a]
[JCC][Fail:  2][date:  Thu Nov 15 11:11:16 2012][Method:  jit_sample.func2()V]
[PC:  0x083afe3a][Lib:  D:\work\jdk\jre\bin\server\jvm.dll+0x3afe3a]