IBM Support

IJ58960: ASSERT FROM JIT COMPILER IN JAVA 8

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: Java 8 terminates unexpectedly with an assert
    from a JIT compilation thread:
    j9jit.19 - * ** ASSERTION FAILED ** at
    c:\temp\bld_108597\bld_win_x86-64_cmprssptrs\compiler\..\compile
    r\env\VMJ9.cpp:5661: ((0 ))
    .
    Stack Trace: 4XENATIVESTACK
    TR_J9VMBase::getVarHandleHandleTableOffset+0x5b (VMJ9.cpp:5664,
    0x00007FFEBA5AF86B <OSB>j9jit29+0xdf86b<CSB>)
    4XENATIVESTACK
    TR_VarHandleTransformer::perform+0x3fc
    (VarHandleTransformer.cpp:256, 0x00007FFEBA840FBC
    <OSB>j9jit29+0x370fbc<CSB>)
    4XENATIVESTACK
    OMR::Optimizer::performOptimization+0x178c
    (OMROptimizer.cpp:1972, 0x00007FFEBAA5348C
    <OSB>j9jit29+0x58348c<CSB>)
    4XENATIVESTACK               OMR::Optimizer::optimize+0x3c5
    (OMROptimizer.cpp:1120, 0x00007FFEBAA4FC75
    <OSB>j9jit29+0x57fc75<CSB>)
    .
    The problem occurred while compiling methods from the Netty
    framework.
    

Local fix

  • The problematic methods can be excluded from JIT compilation to
    avoid triggering the assert.
    

Problem summary

  • VarHandles are not supported in Java 8 and some of the related
    compiler functions contain assertions to ensure that they are
    not accidentally called in that environment. Usually these
    helpers will never be called since there would not be any Java
    code running on Java 8 that uses VarHandles. However it is
    possible (if unusual) for a Java method to contain conditional
    uses of VarHandles so that it can run optimally on both Java 8
    and later versions that do support VarHandles. The presence of
    such code incorrectly triggered the JIT to perform VarHandle
    related optimizations that fired the assertion.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ58960

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-07-14

  • Closed date

    2026-07-14

  • Last modified date

    2026-07-14

  • 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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
14 July 2026