commit | e86a29c6e60a58ad42aeaa990d8ba665964dbe31 | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Thu Jul 27 15:56:40 2017 -0700 |
committer | Makoto Onuki <omakoto@google.com> | Fri Jul 28 15:09:13 2017 -0700 |
tree | 4d6314eb0cc676ca72f0e78037b730e5402ce3cd | |
parent | 37f2e48697592e7d693d8828bcb3238c8223805f [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