JDK-8275204 : Shenandoah: "Attempting to acquire lock ShenandoahAllocFailureGC_lock/safepoint out of order with lock MultiArray_lock/safepoint" assert failure
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 17
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2021-10-13
  • Updated: 2021-10-13
  • Resolved: 2021-10-13
Related Reports
Duplicate :  
Description
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