Shenandoah: "Attempting to acquire lock ShenandoahAllocFailureGC_lock/safepoint out of order with lock MultiArray_lock/safepoint" assert failure

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 17
    • Component/s: hotspot
    • gc

      I reproduce this running gc/shenandoah/TestAllocIntArrays.java with -Xcomp but also saw it with:

      gc/shenandoah/TestAllocIntArrays.java
      gc/shenandoah/TestAllocObjectArrays.java
      gc/shenandoah/TestAllocObjects.java
      gc/shenandoah/TestJcmdHeapDump.java
      gc/shenandoah/TestLotsOfCycles.java
      gc/shenandoah/TestRetainObjects.java
      gc/shenandoah/TestSieveObjects.java
      gc/stress/gcbasher/TestGCBasherWithShenandoah.java

      # Internal Error (/home/roland/jdk-jdk/src/hotspot/share/runtime/mutex.cpp:444), pid=1451666, tid=1451682
      # assert(false) failed: Attempting to acquire lock ShenandoahAllocFailureGC_lock/safepoint out of order with lock MultiArray_lock/safepoint -- possible deadlock

            Assignee:
            Unassigned
            Reporter:
            Roland Westrelin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: