Skip to content
Permalink
Browse files

8239868: Shenandoah: ditch C2 node limit adjustments

Reviewed-by: rkennke
  • Loading branch information
shipilev committed Feb 24, 2020
1 parent f7c819a commit 8167fe956f598506255e37f42ec040aa6d55eb5c
Showing with 0 additions and 9 deletions.
  1. +0 −9 src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp
@@ -192,15 +192,6 @@ void ShenandoahArguments::initialize() {
FLAG_SET_DEFAULT(TLABAllocationWeight, 90);
}

// Shenandoah needs more C2 nodes to compile some methods with lots of barriers.
// NodeLimitFudgeFactor needs to stay the same relative to MaxNodeLimit.
#ifdef COMPILER2
if (FLAG_IS_DEFAULT(MaxNodeLimit)) {
FLAG_SET_DEFAULT(MaxNodeLimit, MaxNodeLimit * 3);
FLAG_SET_DEFAULT(NodeLimitFudgeFactor, NodeLimitFudgeFactor * 3);
}
#endif

// 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

0 comments on commit 8167fe9

Please sign in to comment.