VOOZH about

URL: https://www.ibm.com/support/pages/apar/IJ56399

⇱ IJ56399: JAVA JIT: CRASH IN REPLACETRAMPOLINE() ON JAVA 11+


IJ56399: JAVA JIT: CRASH IN REPLACETRAMPOLINE() ON JAVA 11+

APAR status

  • Closed as program error.

Error description

  • Error Message: SIG_SEGV in the JIT runtime method
    replaceTrampoline().
    .
    Stack Trace: libj9jit29.so:
    _ZN3OMR9CodeCache17replaceTrampolineEP20TR_OpaqueMethodBlockPvS3
    _S3_b
    libj9jit29.so:
    _ZN3OMR16CodeCacheManager17replaceTrampolineEP20TR_OpaqueMethodB
    lockPvS3_S3_S3_b
    libj9jit29.so: mcc_replaceTrampoline
    libj9jit29.so: _Z15ppcCodePatchingPvS_S_S_S_S_
    libj9jit29.so:
    _ZN3OMR9CodeCache14patchCallPointEP20TR_OpaqueMethodBlockPvS3_S3
    _
    libj9jit29.so: mcc_callPointPatching_unwrapper
    libj9jit29.so: old_slow_jitCallCFunction
    .
    The issue can only occur on Java 11 or higher and only on POWER
    hardware. The problem is timing sensitive so the issue will be
    intermittent. Other platforms alike Z or x86 are not effects by
    this issue since the problem existed in POWER specific code.
    

Local fix

  • The chances of hitting this issue can be greatly reduced by
    using the following java command line parameter, but please
    note, this option will have a significant effect on performance:
    -Xjit:inhibitRecompilation
    

Problem summary

  • Starting with Java11 (due to JEP 181) the javac compiler can use
    the "invokevirtual" bytecode to invoke private methods. The way
    the POWER code generator handled this situation allowed for a
    small timing window where it would think it could patch the call
    site, which is not possible under this scenario. The attempt to
    patch would result in a crash because the required runtime data
    does not exist to support the patching procedure.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ56399

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-10-10

  • Closed date

    2025-10-11

  • Last modified date

    2025-10-11

  • 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":"270","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
11 October 2025