commit | 6fbcc2915949d0680e6e9578a5836ee8dcbc467f | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Tue Feb 23 01:05:32 2021 +0000 |
committer | David Srbecky <dsrbecky@google.com> | Tue Oct 05 13:12:20 2021 +0000 |
tree | b5dfdf2ab21f693ca2d702345263bcefa9448291 | |
parent | 0069ad7ddb159a8d368e0f6a289d0335238ae6c4 [diff] |
Change ClassLinker::dex_caches_ from list to unordered_map. Move the DexFile* pointer from struct field out to map key. This makes it easy and fast to find DexCache from DexFile. Add check that given DexFile* is registered only once. Test: test.py -b -r --host --64 Test: generated images are identical as before Change-Id: I84a6d6cbf963af2408abe5bb5e4c99d0ca11df78