summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2017-03-29 17:18:00 -0700
committerAlex Light <allight@google.com>2017-03-30 11:07:16 -0700
commit09c5d903f1411625fd292a1932089103d19f7546 (patch)
tree52b7330bc6cd0f12528a91ddb69d22f46ef17d9b /test/ProfileTestMultiDex/Main.java
parentfddb46fdf76154e4ab35893f7e3c13a07eef0a73 (diff)
Dedup original dex file for classes transformed on first load.
We set the originalDexFile field to a native pointer to the art::DexFile (as a boxed Long). In the case where there were no non-can_retransform_classes agents this DexFile will be owned by the transformed classes ClassLoader and is guaranteed to be valid for as long as the Class is. This means we can simply keep track of that pointer to hold onto the original Dex file. Test: ./test.py --host -j40 Bug: 31455788 Change-Id: I0e5a74f20f86d32dc73babe64b81469b3155c4dd (cherry picked from commit 6a6563116638e8db683bbe0a39a26dbed8992ada)
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions