IBM Support

IJ16118: HANG WITH ALL THREADS WAITING

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: N/A
    .
    Stack Trace: N/A
    .
    This problem is introduced in Java 8 SR5 FP21 and only affects
    IBM Z platforms. Pause-less Garbage Collection via
    -Xgc:concurrentScavenge may make this problem significantly more
    likely to occur.
    

Local fix

Problem summary

  • Java threads need to release VMAccess when doing a JNI
    transition to native code. An optimization to improve the
    performance of JNI calls is introduced where Java threads no
    longer always need VMAccess while executing Java code. Thus a
    fast path is created which does not require calling a VMAccess
    release helper as part of a JNI transition. However, Java
    threads may sometimes still have VMAccess, so a fallback path is
    necessary to release VMAccess in this case. Said fallback path
    was calling the wrong helper so VMAccess was not released. If a
    thread goes through this path maintaining VMAccess in JNI code,
    and if another thread wants exclusive VMAccess, e.g. for a
    global garbage collection cycle, that will cause all other
    threads to yield and wait. At this point the JVM will hang until
    the thread in JNI returns to Java execution and eventually hits
    a yield point. The thread may never return, in which case all
    progress halts indefinitely and the JVM needs to be restarted.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ16118

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-05-13

  • Closed date

    2019-05-13

  • Last modified date

    2019-05-13

  • 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":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
13 May 2019