Skip to content

Commit 75f5145

Browse files
committed
8274925: Shenandoah: shenandoah/TestAllocHumongousFragment.java test failed on lock rank check
Reviewed-by: shade
1 parent 83c3771 commit 75f5145

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/share/gc/shenandoah/shenandoahControlThread.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747

4848
ShenandoahControlThread::ShenandoahControlThread() :
4949
ConcurrentGCThread(),
50-
_alloc_failure_waiters_lock(Mutex::safepoint, "ShenandoahAllocFailureGC_lock", true),
51-
_gc_waiters_lock(Mutex::safepoint, "ShenandoahRequestedGC_lock", true),
50+
_alloc_failure_waiters_lock(Mutex::safepoint-1, "ShenandoahAllocFailureGC_lock", true),
51+
_gc_waiters_lock(Mutex::safepoint-1, "ShenandoahRequestedGC_lock", true),
5252
_periodic_task(this),
5353
_requested_gc_cause(GCCause::_no_cause_specified),
5454
_degen_point(ShenandoahGC::_degenerated_outside_cycle),

0 commit comments

Comments
 (0)