Update inlining thresholds due to changes in scoring algorithm

This commit is contained in:
Alexey Andreev 2019-02-13 19:31:57 +03:00
parent 463f24506d
commit 4a325a192e

View File

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