< prev index next >

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

Print this page
rev 54810 : 8223774: Shenandoah: Refactor ShenandoahRootProcessor and family

@@ -181,10 +181,14 @@
     FLAG_SET_DEFAULT(MaxNodeLimit, MaxNodeLimit * 3);
     FLAG_SET_DEFAULT(NodeLimitFudgeFactor, NodeLimitFudgeFactor * 3);
   }
 #endif
 
+  if (strcmp(ShenandoahGCHeuristics, "traversal") == 0) {
+    FLAG_SET_DEFAULT(ShenandoahConcurrentScanCodeRoots, false);
+  }
+
   // Make sure safepoint deadlocks are failing predictably. This sets up VM to report
   // fatal error after 10 seconds of wait for safepoint syncronization (not the VM
   // operation itself). There is no good reason why Shenandoah would spend that
   // much time synchronizing.
 #ifdef ASSERT
< prev index next >