commit | ea936c02701dc7ac773f5c2272dafde5e1967ea0 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Jun 25 17:10:49 2021 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Mon Jul 05 07:33:20 2021 +0000 |
tree | 2327327eff2fa2844fb71af8d9ee8a0f48dc7a74 | |
parent | 8d5d58554519ffc673760ba932a77e113f68c5fe [diff] |
dex2oat: Faster retrieval of profile data. Avoid the slow `ProfileCompilationInfo::GetMethodHotness()`. Cache profile index to avoid repeating the `DexFileData` search and use new specialized functions that retrieve only the required information instead of full `MethodHotness`. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 181943478 Change-Id: Iaf8486a5e5b12f114c8abb9cfdedf6fc4ed62e20