summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_optimization.h
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2017-03-29 17:18:00 -0700
committerAlex Light <allight@google.com>2017-03-29 17:18:00 -0700
commit6a6563116638e8db683bbe0a39a26dbed8992ada (patch)
tree6d2efe4bce32bb65d79b6196d163db31fa4711d3 /compiler/optimizing/loop_optimization.h
parente2a739acb4514133ee042c15e98447bd1c0423ce (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
Diffstat (limited to 'compiler/optimizing/loop_optimization.h')
0 files changed, 0 insertions, 0 deletions