summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2016-12-01 10:45:08 +0000
committerNicolas Geoffray <ngeoffray@google.com>2016-12-01 22:58:41 +0000
commitf54e5df37cb42d9a83fc54b375da5ef335d604a9 (patch)
treedd69e9eeffd3a021ffb4cc732f75138369d0002e /compiler/optimizing/graph_visualizer.cc
parent626b839f881f09a1481377a76712d08580c47a16 (diff)
Set the location checksum in vdex.
The checksum we check against at runtime isn't the dex checksum if we are compiling a jar/apk, but the crc32 of the entry. This is to optimize the check at startup and avoid reading the contents of the zip file. Because with vdex we do not want to open the zip file, (the test has been done already in getDexOptNeeded), and cannot rely on the .oat file for fetching it, put the location checksum in the vdex directly. Note for later refactorings: the dex checksum location is now in the vdex file, but also in the oat file. This can be revisited after we eventually cleanup OatDexFile. Test: 629-vdex bug: 30937355 Change-Id: I7af8ca63b889370c660d694dd4eb95e78f566a1c
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions