IBM Support

IJ13396: JAVA JIT: CRASH IN J9OUTOFMEMORY()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: SIGSEGV JIT library.
    .
    Stack Trace:
    libj9jit26.so::j9OutOfMemory__FP11J9JITConfigP14TR_CompilationPC
    cPA85_l
    libj9jit26.so::exceededCompilationThreshold__9TR_MemoryFPCc
    libj9jit26.so::allocateHeapMemory__9TR_MemoryFUlQ2_13TR_MemoryBa
    se10ObjectType
    libj9jit26.so::createResolvedMethodWithSignature__11TR_J9VMBaseF
    P9TR_MemoryP20TR_Opaq...
    libj9jit26.so::createResolvedMethod__11TR_J9VMBaseFP9TR_MemoryP2
    0TR_OpaqueMethodBloc...
    libj9jit26.so::jitClassesRedefined
    libj9jvmti26.so::jitClassRedefineEvent AF67_66
    libj9jvmti26.so::redefineClassesCommon
    libj9jvmti26.so::jvmtiRetransformClasses
    libinstrument.so::retransformClasses
    libinstrument.so::Java_sun_instrument_InstrumentationImpl_retran
    sformClasses0
    .
    

Local fix

  • Avoid using class re-definition (java agent that re-defines
    classes).
    

Problem summary

  • The JIT hook for handling class re-definitions was allocating
    memory using a compile time allocation routine which should only
    have been used by the JIT when compiling a method. This results
    in a memory leak and could cause a crash in j9OutOfMemory()
    after leaking enough memory to reach the scratch space limit for
    the JIT compiler.
    

Problem conclusion

  • The JIT was modified to eliminate memory allocation within the
    class re-definition hook.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR10 FP45 (7.0.10.45)
       7 R1 SR4 FP45  (7.1.4.45)
    .
    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

    IJ13396

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-02-09

  • Closed date

    2019-03-19

  • Last modified date

    2019-03-19

  • 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:
14 December 2020