IV33529: ILLEGALMONITORSTATEEXCEPTION THROWN BY JIT-COMPILED METHOD

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

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:

    IV33528

  • 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:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Just In Time (JIT) Compiler

Software version:

5.0

Reference #:

IV33529

Modified date:

2012-12-18

Translate my page

Machine Translation

Content navigation