From 4a325a192e73edf1712cd214a258a279fafcc90b Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Wed, 13 Feb 2019 19:31:57 +0300 Subject: [PATCH] Update inlining thresholds due to changes in scoring algorithm --- core/src/main/java/org/teavm/vm/TeaVM.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/teavm/vm/TeaVM.java b/core/src/main/java/org/teavm/vm/TeaVM.java index 0cba30c56..5905f3486 100644 --- a/core/src/main/java/org/teavm/vm/TeaVM.java +++ b/core/src/main/java/org/teavm/vm/TeaVM.java @@ -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); }