diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-07-17 10:57:42 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-07-17 10:57:42 +0000 |
commit | 33e50d85a3e43072fad4f58369b71da73b8f966c (patch) | |
tree | 2f6807c6b9b6024baf076464e4ab24e9878a60e4 /compiler/optimizing/optimizing_compiler.cc | |
parent | 32f59e585a1f8932f2a4ab3f934a0a83e29b3d19 (diff) | |
parent | 432bf3d525dd0736c91238d69e29b4db6a2f7b80 (diff) |
Merge "Reduce space filter threshold to 128."
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index aeb1ae20a3..31748061b7 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -555,8 +555,8 @@ CompiledMethod* OptimizingCompiler::TryCompile(const DexFile::CodeItem* code_ite } // Implementation of the space filter: do not compile a code item whose size in - // code units is bigger than 256. - static constexpr size_t kSpaceFilterOptimizingThreshold = 256; + // code units is bigger than 128. + static constexpr size_t kSpaceFilterOptimizingThreshold = 128; const CompilerOptions& compiler_options = compiler_driver->GetCompilerOptions(); if ((compiler_options.GetCompilerFilter() == CompilerOptions::kSpace) && (code_item->insns_size_in_code_units_ > kSpaceFilterOptimizingThreshold)) { |