IBM Support

IJ25143: CRASH IN THE INTERPRETER AFTER OSR FROM INLINED SYNCHRONIZED METHOD IN DEBUGGING MODE

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: In the debugging mode, crash in the interpreter
    after a breakpoint is hit and code execution transit from
    inlined synchronized method into the interpreter
    .
    Stack Trace: VM_DebugBytecodeInterpreter::run(J9VMThread*) () at
    BytecodeInterpreter.hpp:8040
    debugBytecodeLoop () at BytecodeInterpreter.cpp:109
    c_cInterpreter () at xcinterp.s:160
    .
    This problem can happen in debugging mode on any platforms
    including X86, PPC and Z
    

Local fix

  • -Xjit:disableInlining
    

Problem summary

  • When a synchronized method exits through unhandled exception,
    it's required by the specification to release the monitor before
    exits. For inlined synchronized method, the JIT compiler inserts
    a synthetic handler to catch the exception and exit the monitor
    and rethrow the exception.
    The problem happens in debugging mode, when a breakpoint is hit
    and program execution transit from the synthetic handler to
    interpreter but resumes from the wrong place.
    

Problem conclusion

  • the VM and the JIT compiler have been updated to identify the
    synthetic handler when the transition happens and resume the
    execution from the right place.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR6 FP15  (8.0.6.15)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ25143

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-05-25

  • Closed date

    2020-05-25

  • Last modified date

    2020-05-25

  • 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

    JIT

  • Fixed component ID

    620700124

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
26 May 2020