diff options
author | Narayan Kamath <narayan@google.com> | 2018-08-13 12:53:38 +0100 |
---|---|---|
committer | Richard Uhler <ruhler@google.com> | 2018-08-20 16:04:21 +0100 |
commit | 77e9589274f85e30d68affd3f3defc109ae1041f (patch) | |
tree | a854f906c004a03d70c9ef286bf46b6863f6e0c4 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 30fdcbad9436606df62ceb784160e73c46792cab (diff) |
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 bc95621811b0c15904a4783aae34e94aa109f764)
Change-Id: Ib7a52bd03f6f13cdb76b82abc307d17227c4c1dc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions