diff options
author | 2021-11-06 13:58:31 +0000 | |
---|---|---|
committer | 2021-11-10 09:19:19 +0000 | |
commit | 61673dc4bdee2fa4770ee72fbc347cca595dd231 (patch) | |
tree | 4a3a3f1b712e72bc7b9be3c84c5c79ce3588bdbf /runtime/interpreter/interpreter_switch_impl-inl.h | |
parent | f726d20976dff58db4e0111860f6b23b77be61a7 (diff) |
Reland "Change hotness counting."
This reverts commit ce131feb7c60ffdf28c315c5d67f9cac33a077ce.
Bug: 203810169
Test: test.py
Test: health/microbench/startup/hscapps/compile-speed-profile/open-clock
Reason for revert: Kept logic from before on what methods to save in the
profile.
Change-Id: Id67cd47a9fe31b4c6b154db20f632015238016d2
Diffstat (limited to 'runtime/interpreter/interpreter_switch_impl-inl.h')
-rw-r--r-- | runtime/interpreter/interpreter_switch_impl-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter_switch_impl-inl.h b/runtime/interpreter/interpreter_switch_impl-inl.h index 42f7fc749b..f58fb954dd 100644 --- a/runtime/interpreter/interpreter_switch_impl-inl.h +++ b/runtime/interpreter/interpreter_switch_impl-inl.h @@ -245,7 +245,7 @@ class InstructionHandler { // Hotness update. jit::Jit* jit = Runtime::Current()->GetJit(); if (jit != nullptr) { - jit->AddSamples(Self(), shadow_frame_.GetMethod(), 1, /*with_backedges=*/ true); + jit->AddSamples(Self(), shadow_frame_.GetMethod()); } // Record new dex pc early to have consistent suspend point at loop header. shadow_frame_.SetDexPC(next_->GetDexPc(Insns())); |