forked from LineageOS/android_art
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-compile on userfaultfd phenotype flag change.
After this change, odrefresh re-compiles everything when the phenotype flag `runtime_native_boot.enable_uffd_gc` changes. It writes the value of the flag to cache-info.xml for change detection. According to go/platform-experiment-namespaces#namespace-types, the phenotype flag is back by a persistent system property. Therefore, we can directly read the flag from the system property instead of depending on the `server_configurable_flags` library. This behavior is consistent with the existing ART code (particularly, `art::Flag`), which reads other phenotype flags. Bug: 231298279 Test: atest odsign_e2e_tests_full Ignore-AOSP-First: Merge conflict. Will cherry-pick later. Change-Id: I02b70569ecd96d4ded6d2d3be22c34b2c6a4c5b4
- Loading branch information
Showing
7 changed files
with
264 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.