summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2017-06-02 18:25:50 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-06-02 18:25:52 +0000
commitf8637044aa22de46f5c2a7148355bbef9a2bfdbe (patch)
treed60797cc74c7a96aa2a405a16bbb69b3078633a2 /compiler/driver/compiler_driver.cc
parenta4c90b90f8a819c5b883a8e0d4ea7d5ad835f58a (diff)
parentea650f3bc4f54eb2c647cf0f7134398ef5038792 (diff)
Merge "Move profiles to use bitmaps for startup methods"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index fc5f847354..0097f55e53 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -1000,7 +1000,8 @@ bool CompilerDriver::ShouldCompileBasedOnProfile(const MethodReference& method_r
if (profile_compilation_info_ == nullptr) {
return false;
}
- bool result = profile_compilation_info_->ContainsMethod(method_ref);
+ // TODO: Revisit compiling all startup methods. b/36457259
+ bool result = profile_compilation_info_->IsStartupOrHotMethod(method_ref);
if (kDebugProfileGuidedCompilation) {
LOG(INFO) << "[ProfileGuidedCompilation] "