summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nikolas Havrikov <havrikov@google.com> 2022-10-25 09:45:42 +0200
committer Nikolas Havrikov <havrikov@google.com> 2022-10-28 12:38:16 +0000
commit3fa28af449d2dab6abcff9049ef4c29d30367db3 (patch)
tree493ea4b71f54893f29696b5cbc55e19229cb7711 /libs/androidfw/StringPool.cpp
parentbcae5b2822bd24494c94d1d78febf47bbda841f0 (diff)
Replace HashMap with ArrayMap in AppsFilterImpl
This saves memory in the system_server. Additionally, this CL replaces iterators with for loops using valueAt() to save further memory. Test: adb shell am dumpheap `adb shell pidof system_server` Test: then use ahat to manually inspect: http://screen/3dVis7RNst2SJp8 Bug: 254230758 Change-Id: Iada8859e7c04f6dde2d7d1fbc0ab730d6e035770
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions