8222977: Fix shenandoah broken with JDK-8222811
authorcoleenp
Thu, 25 Apr 2019 12:33:19 -0400
changeset 54624 beaea3c10b0f
parent 54623 1126f0607c70
child 54625 7f30741331ad
8222977: Fix shenandoah broken with JDK-8222811 Reviewed-by: dcubed, shade
src/hotspot/share/gc/shenandoah/shenandoahStrDedupQueue.cpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahStrDedupQueue.cpp	Thu Apr 25 10:56:31 2019 -0400
+++ b/src/hotspot/share/gc/shenandoah/shenandoahStrDedupQueue.cpp	Thu Apr 25 12:33:19 2019 -0400
@@ -60,7 +60,7 @@
 void ShenandoahStrDedupQueue::wait_impl() {
   MonitorLocker ml(StringDedupQueue_lock, Mutex::_no_safepoint_check_flag);
   while (_consumer_queue == NULL && !_cancel) {
-    ml.wait_without_safepoint_check();
+    ml.wait();
     assert(_consumer_queue == NULL, "Why wait?");
     _consumer_queue = _published_queues;
     _published_queues = NULL;