summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2016-12-08 09:48:01 +0000
committerRichard Uhler <ruhler@google.com>2017-01-09 08:50:02 +0000
commit5923b5238091d9cd65f988fc059deb4fbb2e7f08 (patch)
treeb99368a07f807ebec2769cf61006c732132bee2c /compiler/optimizing/graph_visualizer.cc
parent168768d203cbc4fb784490063fdc2d1c6b9c39f7 (diff)
Do not return patchoat for dexopt needed.
Dex preopt now always compiles PIC, so patchoat is no longer needed to relocate prebuilts on first boot or system update when the boot image is relocated. The only remaining case when patchoat would be used on oat files is the rare, unexpected case when something bad happens to the device, such as a boot loop, to cause the prebuilt boot image to be relocated again. In this case, non-PIC oat files compiled on device may have up-to-date dex and image checksums but wrong patch deltas. In this case, it is fine to recompile the oat file from scratch using dex2oat rather than using patchoat. Test: oat_file_assistant_test Bug: 33192586 Change-Id: If3f2457c7b358e1328476a460a0f15bfa89b7def
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions