commit | 4bb932773e47b1ce04602d81ffa5a8a7d863eb10 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Aug 07 18:07:18 2014 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Fri Aug 08 13:44:03 2014 +0100 |
tree | 1e3257748500d9ab485a7a89d6743760cec45684 | |
parent | fa9c8ec37c66574654e448513e1bb59af7cb9365 [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