changeset 57785:d8f22418ca99

8230483: Shenandoah: consistently disable concurrent roots for Traversal mode Reviewed-by: shade
author zgu
date Tue, 03 Sep 2019 13:55:41 -0400
parents 197f36af94f3
children bf3fb5465543
files src/hotspot/share/gc/shenandoah/shenandoahConcurrentRoots.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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() {