From bd553ebbdfeaa2eb879342b60c0b9c25babf8bae Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 28 Apr 2016 13:56:04 +0100 Subject: [PATCH] Decrease transition weight. bug:27865109 (cherry picked from commit 5a62dd962c831a73c75c0ad5bf1184129eaa942c) Change-Id: I667e514b76510107f6affd9963e4ec83ee629866 --- runtime/jit/jit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/jit/jit.h b/runtime/jit/jit.h index 3455972b7..f3a6240e8 100644 --- a/runtime/jit/jit.h +++ b/runtime/jit/jit.h @@ -44,7 +44,7 @@ class Jit { static constexpr bool kStressMode = kIsDebugBuild; static constexpr size_t kDefaultCompileThreshold = kStressMode ? 2 : 10000; static constexpr size_t kDefaultPriorityThreadWeightRatio = 1000; - static constexpr size_t kDefaultInvokeTransitionWeightRatio = 100; + static constexpr size_t kDefaultInvokeTransitionWeightRatio = 500; virtual ~Jit(); static Jit* Create(JitOptions* options, std::string* error_msg); -- 2.11.0