diff options
| author | 2025-01-02 15:34:53 +0000 | |
|---|---|---|
| committer | 2025-01-07 22:17:19 +0000 | |
| commit | 74f2cf8c183722402356f9b22c5735396fe69416 (patch) | |
| tree | 0ef87e414f0ca84ef18d78e0662f20e69f3ea232 /tools/warn/java_warn_patterns.py | |
| parent | 0d6e9f21249053273b4ee1c8990991a74278674e (diff) | |
Cache all platform aconfig packages in PlatformAconfigPackage
This change utilizes zygote caching all platform aconfig package in
PlatformAconfigPackage. Zygote will load all platform aconfig packages
and stores them in PlatformAconfigPackage.
The benefits of this change are
1. PlatformAconfigPackageInteral has faster package loading, since it
can directly get the flag package from PlatformAconfigPackage,
instead of reading from the mapped file.
2. Flag read won't cause disk restrict mode failure
Test: atest aconfig.test aconfig_storage_read_functional
aconfig_storage_file.test.java
Bug: 386382756
Flag: EXEMPT refactor
Change-Id: I0f42b72073e5a410619f5dc17ffb2890e670a5ff
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions