diff options
| author | 2017-06-02 18:25:50 +0000 | |
|---|---|---|
| committer | 2017-06-02 18:25:52 +0000 | |
| commit | f8637044aa22de46f5c2a7148355bbef9a2bfdbe (patch) | |
| tree | d60797cc74c7a96aa2a405a16bbb69b3078633a2 /compiler/driver/compiler_driver.cc | |
| parent | a4c90b90f8a819c5b883a8e0d4ea7d5ad835f58a (diff) | |
| parent | ea650f3bc4f54eb2c647cf0f7134398ef5038792 (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.cc | 3 |
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] " |