diff options
author | Calin Juravle <calin@google.com> | 2014-06-16 09:39:33 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-06-10 21:26:11 +0000 |
commit | 1dfa6d034b5e12872120883753ff08a35c0e84c7 (patch) | |
tree | 5b56ccb27ff124d51b57cd2b85b8b603170b9a33 /runtime | |
parent | 4b3fa4b1c0bbb5dec14b245207b6a6fdfca1ae55 (diff) | |
parent | c321c9bfe0a523ab4bb435368dbd5d38c6651e50 (diff) | |
download | art-1dfa6d034b5e12872120883753ff08a35c0e84c7.zip art-1dfa6d034b5e12872120883753ff08a35c0e84c7.tar.gz art-1dfa6d034b5e12872120883753ff08a35c0e84c7.tar.bz2 |
Merge "Relax limits for profiler options"
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/parsed_options.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc index cff5ec3..0820330 100644 --- a/runtime/parsed_options.cc +++ b/runtime/parsed_options.cc @@ -556,11 +556,11 @@ bool ParsedOptions::Parse(const Runtime::Options& options, bool ignore_unrecogni } else if (option == "-Xprofile-start-immediately") { profiler_options_.start_immediately_ = true; } else if (StartsWith(option, "-Xprofile-top-k-threshold:")) { - if (!ParseDouble(option, ':', 10.0, 90.0, &profiler_options_.top_k_threshold_)) { + if (!ParseDouble(option, ':', 0.0, 100.0, &profiler_options_.top_k_threshold_)) { return false; } } else if (StartsWith(option, "-Xprofile-top-k-change-threshold:")) { - if (!ParseDouble(option, ':', 10.0, 90.0, &profiler_options_.top_k_change_threshold_)) { + if (!ParseDouble(option, ':', 0.0, 100.0, &profiler_options_.top_k_change_threshold_)) { return false; } } else if (StartsWith(option, "-implicit-checks:")) { |