changeset 54624:beaea3c10b0f

8222977: Fix shenandoah broken with JDK-8222811 Reviewed-by: dcubed, shade
author coleenp
date Thu, 25 Apr 2019 12:33:19 -0400
parents 1126f0607c70
children 7f30741331ad
files src/hotspot/share/gc/shenandoah/shenandoahStrDedupQueue.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;