summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2017-07-27 18:19:38 -0700
committerMathieu Chartier <mathieuc@google.com>2017-08-10 11:23:59 -0700
commitd63fdd7d1e6fdd910f5cb691821c84abb560ebb8 (patch)
tree46772f763be3168629222ab8ba63ccfa4e239c09 /test/ProfileTestMultiDex
parente62edea160d5fded0970942e45f5b45d2a799647 (diff)
Group dirty images objects together in the image.
Adds --dirty-image-objects switch to dex2oat to pass to image writer, which takes in a list of dirty objects dumped by the new imgdump switch --dump-dirty-objects. Currently that list of dirty objects contains classes with dirty static fields. Bins these classes into kBinKnownDirty, which are image objects that are known to be dirty. Measured fewer dirty pages at runtime via showmap: systemui private dirty memory (kB): 492 -> 352 in boot-framework.art 204 -> 192 in boot.art 96 -> 88 in boot-core-libart.art systemserver private dirty memory (kB): 412 -> 304 in boot-framework.art 148 -> 132 in boot.art 100 -> 96 in boot-core-libart.art Bug: 62554875 Test: mm test-art-host (cherry picked from commit c23b0c0409a19b0a0dc6d04abec0faf00ce1f141) Change-Id: Ief11dee659cacf079ebf8848425532418c656a2a
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions