diff options
author | 2021-10-26 20:03:35 +0000 | |
---|---|---|
committer | 2021-10-26 22:56:55 +0000 | |
commit | ce131feb7c60ffdf28c315c5d67f9cac33a077ce (patch) | |
tree | c0d95161dc6ba2ed5cad0fc5cc4c131c3eed15d0 /runtime/class_linker.cc | |
parent | 9c924e89e5f52da9faadd1e4e60c73eaed6bc9d1 (diff) |
Revert "Change hotness counting."
This reverts commit c86869ab894c05e3181e7d15eb1893fa8a3fcd47.
Reason for revert: App startup performance regression.
Bug: 203810169
Change-Id: Ie816969fffd7740fcdfa330aeb645399f5351865
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r-- | runtime/class_linker.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index 4875298e68..69e87d3ba4 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -1956,9 +1956,6 @@ bool ClassLinker::AddImageSpace( const dex::CodeItem* code_item = method.GetDexFile()->GetCodeItem( reinterpret_cast32<uint32_t>(method.GetDataPtrSize(image_pointer_size_))); method.SetCodeItem(code_item); - // The hotness counter may have changed since we compiled the image, so - // reset it with the runtime value. - method.ResetCounter(); } // Set image methods' entry point that point to the interpreter bridge to the // nterp entry point. |