summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2023-03-07 15:50:12 +0000
committer Jiakai Zhang <jiakaiz@google.com> 2023-03-15 16:22:00 +0000
commit47458ed7abbd55d724c4862d8497471becf00dc9 (patch)
tree4067a967991a8c5e09cc03f7a4f4983652a1e6f2 /compiler/optimizing/optimizing_compiler.cc
parent3466c69287c5941c5da9c1fe3d1dadca2a05ad0b (diff)
Read UFFD GC flags from cache-info.xml.
After this change, both the runtime and dex2oat reads UFFD GC flags from cache-info.xml generated by odrefresh. This is to make sure that they consistently use one type of GC until a reboot. Bug: 271875098 Test: - 1. Boot. 2. See "zygote64: Using CollectorTypeCC GC." 3. adb shell device_config put runtime_native_boot enable_uffd_gc true 4. adb shell device_config set_sync_disabled_for_tests persistent 5. adb shell stop && adb shell start 6. Still see "zygote64: Using CollectorTypeCC GC." 7. adb shell pm compile -m speed-profile -f com.android.webview 8. See "dex2oat32: Using CollectorTypeCC GC." 9. adb reboot 10. See "zygote64: Using CollectorTypeCMC GC." 11. adb shell pm compile -m speed-profile -f com.android.webview 12. See "dex2oat32: Using CollectorTypeCMC GC." Change-Id: I141b47697ece0bdb74f960b65e1fa4ca0892cc1b Merged-In: I141b47697ece0bdb74f960b65e1fa4ca0892cc1b
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions