8230483: Shenandoah: consistently disable concurrent roots for Traversal mode

Reviewed-by: shade
This commit is contained in:
Zhengyu Gu 2019-09-03 13:55:41 -04:00
parent 6b2e444aa1
commit fd89fedccf

View File

@ -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() {