diff options
| author | 2022-12-05 13:41:13 -0800 | |
|---|---|---|
| committer | 2023-01-23 17:34:26 -0800 | |
| commit | d4e1a667ebbe7a1d939d18e09158bde10f14b0d6 (patch) | |
| tree | f521488a8290e9aa333662659827c7b224e3db63 /libs/androidfw/ApkParsing.cpp | |
| parent | 58e200f57c6e59c21ace703abc59995a00aa352c (diff) | |
[SettingsProvider] IpcDataCache for Settings
(Currently disabled, so this CL will be a no-op, only adding some
implementations.)
The old caching mechanism causes performance janks because the all the
settings of the same type share the same cache. An update of a single
setting leads to the invalidation of the whole cache.
This CL adds a new caching mechanism, using IpcDataCache. In this CL,
all settings of a same type still shares one cache. In the next CL,
clusters of caches will be created based on the frequency of cache
invalidations.
BUG: 228619157
Test: atest SettingsProviderTest
Change-Id: Id823994eebafb4d15f31502ba6a96f70892d8e6d
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions