Increase upper complexity threshold for inlining

This commit is contained in:
Alexey Andreev 2023-11-25 15:58:00 +01:00
parent a433ca9fe5
commit 6695103f49

View File

@ -647,7 +647,7 @@ public class TeaVM implements TeaVMHost, ServiceRepository {
InliningStrategy inliningStrategy;
if (optimizationLevel == TeaVMOptimizationLevel.FULL) {
inliningStrategy = new DefaultInliningStrategy(20, 7, 300, false);
inliningStrategy = new DefaultInliningStrategy(20, 7, 3000, false);
} else {
inliningStrategy = new DefaultInliningStrategy(100, 7, 300, true);
}