summaryrefslogtreecommitdiff
path: root/compiler/compiler.h
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2023-10-17 19:40:31 +0100
committer Martin Stjernholm <mast@google.com> 2023-10-18 18:25:54 +0000
commitf53cfb405ccdf4dedd4094a5ca3fee63424ba5ee (patch)
tree590088a3a8042b789b48fec1efa79349dfa95db6 /compiler/compiler.h
parenta38ce01c0445fa416c8bbe06d9891d9f3349aad4 (diff)
Enable UFFD (aka CMC) GC by default on S and later.
It can still be disabled at build time, and with the persist.device_config.runtime_native_boot.force_disable_uffd_gc P/H flag (except on S, where an init order bug doesn't make the P/H settings available early enough at boot). Test: atest art_standalone_odrefresh_tests Test: atest odsign_e2e_tests odsign_e2e_tests_full Test: Build bundled module on main with OVERRIDE_ENABLE_UFFD_GC=false, check that odrefresh runs on boot, and check that logcat shows "Using CollectorTypeCMC GC." Test: Build module on Mainline branch, install on device running S, check that odrefresh runs on reboot, and check that logcat shows "Using CollectorTypeCMC GC." Reboot again, and check that odrefresh does not run and that logcat shows "Using CollectorTypeCMC GC." Test: Same as above on a device running T, and then: adb root adb shell device_config set_sync_disabled_for_tests persistent adb shell setprop persist.device_config.runtime_native_boot.force_disable_uffd_gc true adb reboot Check that odrefresh runs on reboot, and check that logcat shows "Using CollectorTypeCC GC." Reboot again, and check that odrefresh does not run and that logcat shows "Using CollectorTypeCC GC." Bug: 251150519 Change-Id: I5d21fa41721db79814a4070af9442a9212ba6bc3
Diffstat (limited to 'compiler/compiler.h')
0 files changed, 0 insertions, 0 deletions