Document that ro.dalvik.vm.enable_uffd_gc has a limited lifetime.

Test: N/A - comment change only
Bug: 256438776
Change-Id: I1d2efe2f1985b967de17c25a9327fa4e9dcbaca3
This commit is contained in:
Martin Stjernholm
2024-05-15 16:42:02 +01:00
parent dc3382ac93
commit a8c687ff4f
2 changed files with 5 additions and 1 deletions

View File

@@ -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 # device may have to re-compile everything on the first boot if the kernel doesn't support
# userfaultfd # userfaultfd
# - "false": disallows the build system and the runtime to use userfaultfd GC even if the device # - "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 _product_single_value_vars += PRODUCT_ENABLE_UFFD_GC
# Specifies COW version to be used by update_engine and libsnapshot. If this value is not # Specifies COW version to be used by update_engine and libsnapshot. If this value is not

View File

@@ -265,6 +265,9 @@ ADDITIONAL_SYSTEM_PROPERTIES += ro.force.debuggable=0
config_enable_uffd_gc := \ config_enable_uffd_gc := \
$(firstword $(OVERRIDE_ENABLE_UFFD_GC) $(PRODUCT_ENABLE_UFFD_GC) default) $(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. # 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) ADDITIONAL_PRODUCT_PROPERTIES += ro.dalvik.vm.enable_uffd_gc=$(config_enable_uffd_gc)