diff options
author | 2023-10-30 10:12:01 +0000 | |
---|---|---|
committer | 2024-01-30 15:33:00 +0000 | |
commit | f5307a31f5b67f6184cbb7e8b7fab61be3725fce (patch) | |
tree | 01d9284e052f5d96e723989dba214588c5c5d3dc /compiler/driver/compiler_options.cc | |
parent | ee4c3d633f673be1d43c959a3bc99519a376dba0 (diff) |
Allow compilation of large methods with no branches
Popular apps include such methods in their profiles. Having
the extra heuristic of skipping compilation for large methods
with no branches can be unintuitive for developers who created
those profiles.
Some apps see startup improvements with this heuristic removed.
Bug: 316617683
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Change-Id: I21a8da93e89399dac0e45c3ab43a8bbedc925a44
Diffstat (limited to 'compiler/driver/compiler_options.cc')
-rw-r--r-- | compiler/driver/compiler_options.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/driver/compiler_options.cc b/compiler/driver/compiler_options.cc index ada7685b78..36943a0dd1 100644 --- a/compiler/driver/compiler_options.cc +++ b/compiler/driver/compiler_options.cc @@ -40,7 +40,6 @@ namespace art HIDDEN { CompilerOptions::CompilerOptions() : compiler_filter_(CompilerFilter::kDefaultCompilerFilter), huge_method_threshold_(kDefaultHugeMethodThreshold), - large_method_threshold_(kDefaultLargeMethodThreshold), inline_max_code_units_(kUnsetInlineMaxCodeUnits), instruction_set_(kRuntimeISA == InstructionSet::kArm ? InstructionSet::kThumb2 : kRuntimeISA), instruction_set_features_(nullptr), |