JDK-8274925 : Shenandoah: shenandoah/TestAllocHumongousFragment.java test failed on lock rank check
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-10-07
  • Updated: 2021-10-18
  • Resolved: 2021-10-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 18
18 b19Fixed
Related Reports
Duplicate :  
Relates :  
Description
The test failed with iu aggressive mode.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/zgu/ws/jdk/src/hotspot/share/runtime/mutex.cpp:418), pid=1345654, tid=1345669
#  assert(false) failed: Attempting to acquire lock ShenandoahAllocFailureGC_lock/41 out of order with lock MultiArray_lock/41 -- possible deadlock
#
# JRE version: OpenJDK Runtime Environment (18.0) (fastdebug build 18-internal+0-adhoc.zgu.jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 18-internal+0-adhoc.zgu.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, shenandoah gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x15012d0]  Mutex::check_rank(Thread*)+0xf0
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#

Comments
Changeset: 75f5145e Author: Zhengyu Gu <zgu@openjdk.org> Date: 2021-10-11 16:58:53 +0000 URL: https://git.openjdk.java.net/jdk/commit/75f5145e21a1320c1a08080af861497ce7c3f266
11-10-2021

JDK-8273917 changed MultiArray_lock rank from nonleaf+2 to nonleaf
08-10-2021