From a8c687ff4ff2108db4aaa320aa1d7c768839fbaa Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Wed, 15 May 2024 16:42:02 +0100 Subject: [PATCH] Document that ro.dalvik.vm.enable_uffd_gc has a limited lifetime. Test: N/A - comment change only Bug: 256438776 Change-Id: I1d2efe2f1985b967de17c25a9327fa4e9dcbaca3 --- core/product.mk | 3 ++- core/sysprop_config.mk | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/product.mk b/core/product.mk index 0a761fb44e..ec377b7824 100644 --- a/core/product.mk +++ b/core/product.mk @@ -447,7 +447,8 @@ _product_list_vars += PRODUCT_VENDOR_LINKER_CONFIG_FRAGMENTS # device may have to re-compile everything on the first boot if the kernel doesn't support # userfaultfd # - "false": disallows the build system and the runtime to use userfaultfd GC even if the device -# supports it +# supports it. This option is temporary - the plan is to remove it by Aug 2025, at which time +# Mainline updates of the ART module will ignore it as well. _product_single_value_vars += PRODUCT_ENABLE_UFFD_GC # Specifies COW version to be used by update_engine and libsnapshot. If this value is not diff --git a/core/sysprop_config.mk b/core/sysprop_config.mk index a019a7d2c3..e8428c8eaf 100644 --- a/core/sysprop_config.mk +++ b/core/sysprop_config.mk @@ -265,6 +265,9 @@ ADDITIONAL_SYSTEM_PROPERTIES += ro.force.debuggable=0 config_enable_uffd_gc := \ $(firstword $(OVERRIDE_ENABLE_UFFD_GC) $(PRODUCT_ENABLE_UFFD_GC) default) +# This is a temporary system property that controls the ART module. The plan is +# to remove it by Aug 2025, at which time Mainline updates of the ART module +# will ignore it as well. # If the value is "default", it will be mangled by post_process_props.py. ADDITIONAL_PRODUCT_PROPERTIES += ro.dalvik.vm.enable_uffd_gc=$(config_enable_uffd_gc)