Files
frameworks_base/core/java/android/app
Lee Shombert 3da8ca16f4 Reduce auto-cork delay to 50ms
Bug: 160971853

Reduce the auto-cork delay from 2s to 50ms.  Testing shows that this
introduces a very few new invalidate calls for the package_info cache
key, and greatly improves the hit ratio for the associated caches.

This change includes a fix to the cache-clear counter.  Some clears
were missing.

Test:
 * phone reboot
 * atest CtsContactsProviderTestCases
 * atest FrameworksServicesTests:UserSystemPackageInstallerTest
 * atest FrameworksServicesTests:PackageManagerSettingsTests
Verified that hit ratios improved over the baseline.  Verified that the
number of extra invalidates did not increase by more than 5.

Change-Id: I4b70b1da8c3927c74077e6da0e60dc56c2e007f1
2020-08-17 16:29:14 +00:00
..
2020-06-20 03:01:36 +00:00
2020-04-08 21:30:24 +08:00
2020-08-05 17:40:02 +00:00
2020-04-28 15:02:26 +01:00
2020-04-14 16:57:18 +08:00