# HG changeset patch # User zgu # Date 1567533341 14400 # Node ID d8f22418ca99fa28a36b3a22559005b94ff26968 # Parent 197f36af94f304f33fba47d59ceab53d141a4464 8230483: Shenandoah: consistently disable concurrent roots for Traversal mode Reviewed-by: shade diff -r 197f36af94f3 -r d8f22418ca99 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() {