Skip to content

Commit fd89fed

Browse files
committed
8230483: Shenandoah: consistently disable concurrent roots for Traversal mode
Reviewed-by: shade
1 parent 6b2e444 commit fd89fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/gc/shenandoah/shenandoahConcurrentRoots.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
bool ShenandoahConcurrentRoots::can_do_concurrent_roots() {
3030
// Don't support traversal GC at this moment
31-
return !ShenandoahHeap::heap()->is_concurrent_traversal_in_progress();
31+
return !ShenandoahHeap::heap()->is_traversal_mode();
3232
}
3333

3434
bool ShenandoahConcurrentRoots::should_do_concurrent_roots() {

0 commit comments

Comments
 (0)