diff --git a/src/coreclr/jit/assertionprop.cpp b/src/coreclr/jit/assertionprop.cpp index d65c25dd227f82..4057387501cda0 100644 --- a/src/coreclr/jit/assertionprop.cpp +++ b/src/coreclr/jit/assertionprop.cpp @@ -668,11 +668,11 @@ void Compiler::optAssertionInit(bool isLocalProp) } else if (lvaTrackedCount < 64) { - optMaxAssertionCount = 128; + optMaxAssertionCount = 192; } else { - optMaxAssertionCount = (AssertionIndex)min(maxTrackedLocals, ((3 * lvaTrackedCount / 128) + 1) * 64); + optMaxAssertionCount = (AssertionIndex)min(maxTrackedLocals, lvaTrackedCount) * 3; } } else