summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2017-07-27 15:56:40 -0700
committerMakoto Onuki <omakoto@google.com>2017-07-28 15:09:13 -0700
commite86a29c6e60a58ad42aeaa990d8ba665964dbe31 (patch)
tree4d6314eb0cc676ca72f0e78037b730e5402ce3cd /tools/aapt2/java/JavaClassGenerator.cpp
parent37f2e48697592e7d693d8828bcb3238c8223805f (diff)
Reduce duplicate strings due to the package cache.
The following charts are the actual measurement with and without the fix, using "dumpsys system". - The red bar is "total private dirty". - The X axsis is time since boot. Without fix: - First boot: https://docs.google.com/spreadsheets/d/1R6lL0AnAp93HnrqWujJFNgOjj6wvGicgDlbDAevbc3g/edit#gid=0 Private dirty stabilizes at ~16.8M. - Second boot: https://docs.google.com/spreadsheets/d/1R6lL0AnAp93HnrqWujJFNgOjj6wvGicgDlbDAevbc3g/edit#gid=1918404197 Private dirty stabilizes at ~17.8M. With fix: - First boot: https://docs.google.com/spreadsheets/d/1R6lL0AnAp93HnrqWujJFNgOjj6wvGicgDlbDAevbc3g/edit#gid=791764875 Private dirty stabilizes at ~17.0M. - Second boot: https://docs.google.com/spreadsheets/d/1R6lL0AnAp93HnrqWujJFNgOjj6wvGicgDlbDAevbc3g/edit#gid=1820894299 Private dirty stabilizes at ~17.0M. Test: build, boot, reboot, adb-install, reboot bit FrameworksCoreTests:android.content.pm.PackageParserTest Bug: 64112468 Change-Id: I5ae9c1b2d021fe62526d4e0dd1a52a962b48206e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions