diff options
author | Lee Shombert <shombert@google.com> | 2021-05-12 08:25:50 -0700 |
---|---|---|
committer | Lee Shombert <shombert@google.com> | 2021-05-12 08:25:50 -0700 |
commit | 99173ce6b915645d946191324e70cc08a81ffdc3 (patch) | |
tree | c00faca0924139753dc98032a6b9e32208c78a5d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 84737b417b394a01d99edfefdef6c194a785cf83 (diff) |
Improve snapshot performance
Bug: 185481065
Use caches to improve snapshot performance. SnapshotCache.Auto is a
concrete SnapshotCache that can be applied to a Snappable. All the
Watched* classes are Snappable. The cache improves performance and
reduces memory churn.
Test: atest
* CtsContentTestCases:IntentFilterTest
* CtsDynamicMimeHostTestCases
* CtsRoleTestCases
* FrameworksServicesTests:UserSystemPackageInstallerTest
* FrameworksServicesTests:PackageManagerSettingsTests
* FrameworksServicesTests:PackageManagerServiceTest
* FrameworksServicesTests:AppsFilterTest
* FrameworksServicesTests:PackageInstallerSessionTest
* FrameworksServicesTests:ScanTests
* UserLifecycleTests#startUser
* UserLifecycleTests#stopUser
* UserLifecycleTests#switchUser
* FrameworksServicesTests:WatcherTest
* android.appsecurity.cts.EphemeralTest
* android.appsecurity.cts.InstantAppUserTest
Change-Id: Ia993613f566cb86b145ddf1d5280e8780252a951
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions