8230483: Shenandoah: consistently disable concurrent roots for Traversal mode
Reviewed-by: shade
--- 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() {