IV33529: ILLEGALMONITORSTATEEXCEPTION THROWN BY JIT-COMPILED METHOD
Closed as program error.
Error Message: An IllegalMonitorStateException is thrown by a Java method that has been re-compiled at higher optimization levels. The throwing method likely has been inlined into a loop in its caller. . Stack Trace: N/A .
This issue can be worked around using the -Xjit:disableRedundantMonitorElimination option.
This problem occurs when the inlining of a virtual method is disabled for correctness, e.g. after the loading of a new class that implements the same method. If the inlined call site is on a code path that locks multiple objects, the compensating code generated by the JIT compiler incorrectly attempts to unlock the same object twice.
This defect will be fixed in: 6.0.0 SR12 5.0.0 SR16 6.0.1 SR5 7.0.0 SR4 . The JIT compiler has been updated to generate correct code for the non-inlined virtual method call sequence.
Reported component name
JAVA 5 JIT
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA 5 JIT
Fixed component ID
Applicable component levels