summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_optimization.cc
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2017-07-27 18:19:38 -0700
committerJeff Hao <jeffhao@google.com>2017-08-02 14:35:48 -0700
commitc23b0c0409a19b0a0dc6d04abec0faf00ce1f141 (patch)
tree09da5c365ce3d7f2f6cfc68b76eb920f7b5eee34 /compiler/optimizing/loop_optimization.cc
parentd335e7b4d034bc8b69efde641779c6e1cd7bba42 (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 Change-Id: If8293da07a97a2051c33890faa9b5d3b283b8e6d
Diffstat (limited to 'compiler/optimizing/loop_optimization.cc')
0 files changed, 0 insertions, 0 deletions