diff options
| author | 2022-05-04 14:34:01 +0100 | |
|---|---|---|
| committer | 2022-05-06 17:42:49 +0000 | |
| commit | 45d0881f7444307955b51db5be88c5f890647c5e (patch) | |
| tree | d7056c8087bda94c183cce4506c24966dd705e26 /disassembler/disassembler.h | |
| parent | 36c0cb0ed53420b65dd79c2cfaaf7f4a49e69ba7 (diff) | |
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
Diffstat (limited to 'disassembler/disassembler.h')
0 files changed, 0 insertions, 0 deletions