commit | 6b932180c768d2150386e4e6c8e415d935b25471 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Aug 07 18:07:18 2014 +0100 |
committer | The Android Automerger <android-build@google.com> | Fri Aug 08 12:49:19 2014 -0700 |
tree | f7da7a705e8083a7461ee0924cc1a54ce4edd7aa | |
parent | aa9d1c19e510a828ccaeb6c3d5a024614c0ea0c4 [diff] |
Fix performance regression in OatFile::GetOatDexFile(). Try to avoid calculating the canonical location of the dex file if possible and when we have to calculate it, cache the lookup result for subsequent lookups. Bug: 16828525 Bug: 16859671 (cherry picked from commit 3f5838d7d0b9fc63db0ccc35c2ea05ed29264986) Change-Id: Ifd9a45dada2cc724382fd03c10f6437a6b71e666