summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_sinking.cc
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2023-08-02 17:51:22 +0100
committer Jiakai Zhang <jiakaiz@google.com> 2023-08-04 19:41:32 +0000
commit98e1ddd64c9ada5fc901f3ebbafd30f1ac750063 (patch)
tree667770b0f5c64a54a61558b42dff1e4989f9eb66 /compiler/optimizing/code_sinking.cc
parenta83a6eeb22255f76b56a641ef7d019233cb8669f (diff)
Fix the logic about re-compiling for boot image.
There were some logic errors in `OatFileAssistant::ShouldRecompileForFilter` that triggered recompilation after reboot and caused the artifacts generated by otapreopt to be overwritten. This CL fixes the logic. Bug: 294044824 Test: m test-art-host-gtest-art_runtime_tests Test: - 1. m dist 2. system/update_engine/scripts/update_device.py out/dist/cf_x86_64_phone-ota-*.zip 3. adb reboot 4. See that UpdatePackagesIfNeeded doesn't recompile any package. 5. Check that `adb shell dumpsys package dexopt` shows "reason=ab-ota". Change-Id: Ie909190b8c790ec696d3e1a89e74ec18701fb16c
Diffstat (limited to 'compiler/optimizing/code_sinking.cc')
0 files changed, 0 insertions, 0 deletions