Skip to content

Commit 720f517

Browse files
authored
JIT: increase inline budget (#114191)
The current JIT inline strategy is prone to running out of budget at inopportune times, deeply inlining at some top-level sites and not inlining at all at others. This doesn't happen all that often, but when it does it has very adverse impact on performance. While we await a better strategy, we can at least reduce how often this happens by increasing the budget. Partially addresses regressions seen in #113913
1 parent 6f23aaf commit 720f517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/jit/compiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11422,7 +11422,7 @@ class Compiler
1142211422

1142311423
#define DEFAULT_MAX_INLINE_DEPTH 20 // Methods at more than this level deep will not be inlined
1142411424

11425-
#define DEFAULT_INLINE_BUDGET 10 // Maximum estimated compile time increase via inlining
11425+
#define DEFAULT_INLINE_BUDGET 20 // Maximum estimated compile time increase via inlining
1142611426

1142711427
#define DEFAULT_MAX_FORCE_INLINE_DEPTH 1 // Methods at more than this level deep will not be force inlined
1142811428

0 commit comments

Comments
 (0)