RFR: 8293782: Shenandoah: some tests failed on lock rank check [v2]

Tongbao Zhang duke at openjdk.org
Sun Oct 9 06:45:10 UTC 2022


> After [JDK-8290025](https://bugs.openjdk.org/browse/JDK-8290025), some tests using ShenandoahGC failed on the lock rank check between AdapterHandlerLibrary_lock and ShenandoahRequestedGC_lock
> 
> Symptom
> 
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error (/data1/ws/jdk/src/hotspot/share/runtime/mutex.cpp:454), pid=2018566, tid=2022220
> # assert(false) failed: Attempting to acquire lock ShenandoahRequestedGC_lock/safepoint-1 out of order with lock AdapterHandlerLibrary_lock/safepoint-1 -- possible deadlock
> #
> # JRE version: OpenJDK Runtime Environment (20.0) (slowdebug build 20-internal-adhoc.root.jdk)
> # Java VM: OpenJDK 64-Bit Server VM (slowdebug 20-internal-adhoc.root.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, shenandoah gc, linux-amd64)
> # Problematic frame:
> # V [libjvm.so+0x106fd6a] Mutex::check_rank(Thread*)+0x426

Tongbao Zhang has updated the pull request incrementally with one additional commit since the last revision:

  update rank of _alloc_failure_waiters_lock

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/10264/files
  - new: https://git.openjdk.org/jdk/pull/10264/files/23f44fbd..87675608

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10264&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10264&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10264.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10264/head:pull/10264

PR: https://git.openjdk.org/jdk/pull/10264



More information about the hotspot-gc-dev mailing list