IBM Support

IV86435: JIT INCORRECTLY OPTIMIZES LOCKS CAUSING GC ASSERT

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: The snap trace describes a failed assertion:
    
    ** ASSERTION FAILED ** at ParallelScavenger.cpp:2993:
    ((MM_StackSlotValidator(MM_StackSlotValidator::NOT_ON_HEAP,
    *slotPtr, stackLocation, walkState).validate(_env)))
    .
    Stack Trace: java/nio/HeapByteBuffer.<init>(II)V
    java/nio/ByteBuffer.allocate(I)Ljava/nio/ByteBuffer;
    org/apache/cassandra/utils/memory/SlabAllocator.getRegion()Lorg/
    apache/cassandra/utils/memory/SlabAllocator$Region;
    org/apache/cassandra/utils/memory/SlabAllocator.allocate(ILorg/a
    pache/cassandra/utils/concurrent/OpOrder$Group;)Ljava/nio/ByteBu
    ffer;
    Customer may experience other similar call stack.
    .
    

Local fix

  • dontInline={org/apache/cassandra/utils/concurrent/Locks.monitorE
    nterUnsafe*,org/apache/cassandra/utils/concurrent/Locks.monitorE
    xitUnsafe*}
    

Problem summary

  • This is a problem with JIT live monitor metadata. The
    optimization incorrectly made some assumption which is untrue in
    this corner case. The problem could appear on x, power, or z.
    

Problem conclusion

  • JIT has been updated to handle this special case.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR3 FP50  (7.1.3.50)
       6 R1 SR8 FP30  (6.1.8.30)
       8    SR3 FP10  (8.0.3.10)
       7    SR9 FP50  (7.0.9.50)
    .
    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

    IV86435

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-30

  • Closed date

    2016-06-30

  • Last modified date

    2016-07-01

  • 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

  • R130 PSY

       UP

  • R260 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Just In Time (JIT) Compiler

Software version: 130

Reference #: IV86435

Modified date: 01 July 2016