Commit 7c5ea10
authored
JIT: constrain max IL size for OSR inlining (#117816)
If we inline too aggressively at intermediate tiers, we can lose profile
data that would be beneficial at the final tier.
Extend the recent fixes made for limiting max IL size at Tier1+Instr to
include OSR as well. This one is a arguably bit more delicate as OSR may
well be the final tier, but there is no way to know that.
We are just returning to the .NET 9 behavior here.
Fixes #117717. May also fix some of the other regressions that have
not yet been analyzed in depth.1 parent b387738 commit 7c5ea10
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1377 | 1377 | | |
1378 | 1378 | | |
1379 | 1379 | | |
1380 | | - | |
| 1380 | + | |
1381 | 1381 | | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
1387 | 1392 | | |
1388 | 1393 | | |
| 1394 | + | |
1389 | 1395 | | |
1390 | 1396 | | |
1391 | 1397 | | |
| |||
0 commit comments