diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-07-17 11:11:09 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2015-07-17 11:58:24 +0100 |
commit | 030f2af20dcae2c44bcf1b7b265cf3db4e3c23f8 (patch) | |
tree | a218ff6e56b2926759f3c73175d784e7e018ba0f | |
parent | a2407de14ad40f4b5462cd6294bc4a7a07d47d38 (diff) | |
download | art-030f2af20dcae2c44bcf1b7b265cf3db4e3c23f8.zip art-030f2af20dcae2c44bcf1b7b265cf3db4e3c23f8.tar.gz art-030f2af20dcae2c44bcf1b7b265cf3db4e3c23f8.tar.bz2 |
Reduce space filter threshold to 128.
In order to get closer to our code increase limit.
Bug:21868508
(cherry picked from commit 432bf3d525dd0736c91238d69e29b4db6a2f7b80)
Change-Id: Iab19fe99a8a869b0fb841bac317016e4a3dc00e2
-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 f1293b7..69c26f0 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -514,8 +514,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)) { |