8230483: Shenandoah: consistently disable concurrent roots for Traversal mode
authorzgu
Tue, 03 Sep 2019 13:55:41 -0400
changeset 57995 d8f22418ca99
parent 57994 197f36af94f3
child 57996 bf3fb5465543
8230483: Shenandoah: consistently disable concurrent roots for Traversal mode Reviewed-by: shade
src/hotspot/share/gc/shenandoah/shenandoahConcurrentRoots.cpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahConcurrentRoots.cpp	Fri Aug 30 17:22:55 2019 +0530
+++ b/src/hotspot/share/gc/shenandoah/shenandoahConcurrentRoots.cpp	Tue Sep 03 13:55:41 2019 -0400
@@ -28,7 +28,7 @@
 
 bool ShenandoahConcurrentRoots::can_do_concurrent_roots() {
   // Don't support traversal GC at this moment
-  return !ShenandoahHeap::heap()->is_concurrent_traversal_in_progress();
+  return !ShenandoahHeap::heap()->is_traversal_mode();
 }
 
 bool ShenandoahConcurrentRoots::should_do_concurrent_roots() {