Commit da2b890e authored by Narayan Kamath's avatar Narayan Kamath Committed by Shibin George
Browse files

ResourceManager: Disable APK Assets cache.

The WeakReference based cache of Assets in use elsewhere in the
process remains unchanged.

Note that this change is larger than it needs to be because it is
an error to create an LruCache of size zero.

There seems to be no measurable difference as measured by the standard
app startup benchmarks.

Test: atest -v google/perf/app-startup/benchmark-app-hermetic/cold-dropcache-test
Bug: 111385832
(cherry picked from commit bc956218)

CRs-Fixed:2302602

Change-Id: Ib7a52bd03f6f13cdb76b82abc307d17227c4c1dc
parent 378b309f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment