IBM Support

IV33528: ILLEGALMONITORSTATEEXCEPTION THROWN BY JIT-COMPILED METHOD

Subscribe

You can track all active APARs for this component.

 

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 SR13
    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

    IV33528

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-17

  • Closed date

    2012-12-18

  • Last modified date

    2013-02-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IV33529

Fix information

  • Fixed component name

    JIT

  • Fixed component ID

    620700124

Applicable component levels

  • R600 PSY

       UP

  • R260 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 February 2013