summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2023-11-03 15:42:11 +0000
committer Santiago Aboy Solanes <solanes@google.com> 2023-11-06 14:37:04 +0000
commit4fd854d795a8d6d1572db8529945af3fe182ee4e (patch)
tree2ce2759d6a5ac41bb1e427cfb60327c953310665 /compiler/driver/compiler_options.h
parentf987c5cf9c8be959fc1ab62cb0e1c29222cc9fc3 (diff)
Deprecate num-dex-methods and top-k-profile-threshold flags
They were unused and did nothing. Test: Presubmit Change-Id: Id651d5834afcdf293939b79d330b198aef0c954c
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index 7369b61b8b..f816c1485d 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -63,8 +63,6 @@ class CompilerOptions final {
// Guide heuristics to determine whether to compile method if profile data not available.
static const size_t kDefaultHugeMethodThreshold = 10000;
static const size_t kDefaultLargeMethodThreshold = 600;
- static const size_t kDefaultNumDexMethodsThreshold = 900;
- static constexpr double kDefaultTopKProfileThreshold = 90.0;
static const bool kDefaultGenerateDebugInfo = false;
static const bool kDefaultGenerateMiniDebugInfo = true;
static const size_t kDefaultInlineMaxCodeUnits = 32;
@@ -135,10 +133,6 @@ class CompilerOptions final {
return num_dalvik_instructions > large_method_threshold_;
}
- size_t GetNumDexMethodsThreshold() const {
- return num_dex_methods_threshold_;
- }
-
size_t GetInlineMaxCodeUnits() const {
return inline_max_code_units_;
}
@@ -146,10 +140,6 @@ class CompilerOptions final {
inline_max_code_units_ = units;
}
- double GetTopKProfileThreshold() const {
- return top_k_profile_threshold_;
- }
-
bool EmitReadBarrier() const {
return emit_read_barrier_;
}
@@ -399,7 +389,6 @@ class CompilerOptions final {
CompilerFilter::Filter compiler_filter_;
size_t huge_method_threshold_;
size_t large_method_threshold_;
- size_t num_dex_methods_threshold_;
size_t inline_max_code_units_;
InstructionSet instruction_set_;
@@ -439,9 +428,6 @@ class CompilerOptions final {
bool dump_pass_timings_;
bool dump_stats_;
- // When using a profile file only the top K% of the profiled samples will be compiled.
- double top_k_profile_threshold_;
-
// Info for profile guided compilation.
const ProfileCompilationInfo* profile_compilation_info_;