commit | a9403c6fc23732f3e35f5b6b57f0e65413f3e1d7 | [log] [tgz] |
---|---|---|
author | Jing Ji <jji@google.com> | Wed Jun 30 01:20:49 2021 -0700 |
committer | Jing Ji <jji@google.com> | Tue Jul 13 23:42:18 2021 +0000 |
tree | e00ed5525afa5678f8cff886f7017f74f115ab0a | |
parent | 3c299e995df5b6e305ebd5b7a941c944fdca0bda [diff] |
Update the PlatformCompat cache in OomAdjuster when gets notified ...instead of reading from PlatformCompat when it hits an obsoleted cache at critical code path in oomAdjUpdate. The cache will also be refreshed when the ApplicationInfo is updated. Bug: 192316054 Test: atest FrameworksServicesTests:OomAdjusterTests Test: atest ActivityManagerPerfTests:OomAdjPerfTest Change-Id: I4d826a84770fa3b83752b11851d261e41acc2c16