APAR status
Closed as program error.
Error description
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 .
Local fix
This issue can be worked around using the -Xjit:disableRedundantMonitorElimination option.
Problem summary
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.
Problem conclusion
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.
Temporary fix
Comments
APAR Information
APAR number
IV33529
Reported component name
JAVA 5 JIT
Reported component ID
620500124
Reported release
500
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-12-17
Closed date
2012-12-18
Last modified date
2012-12-18
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA 5 JIT
Fixed component ID
620500124
Applicable component levels
R500 PSY
UP
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.