diff options
author | Mathieu Chartier <mathieuc@google.com> | 2017-04-11 11:12:28 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2017-04-11 16:44:53 -0700 |
commit | 55c05f5b4e2c0cc084ee332bf7ae54ea44cde8ad (patch) | |
tree | cc9e60bc33332ff8a0a02f68c21963769ff8dd7e /compiler/optimizing/graph_visualizer.cc | |
parent | ef6787bd892b55588ebb2835cc3a3bc4e9e08d04 (diff) |
Clear zygote space cards for CC
There may be dirty cards from reference processing or from zygote
compaction. Having these dirty cards in the zygote space is
unnecessary and causes PSS increase from GrayAllDirtyImmuneObjects
in future GCs. Clearing the zygote space cards when the zygote
space is created fixes this issue and reduces PSS.
System wide PSS for zygote space, before:
7,899K: .Zygote
7,896K: .Zygote
8,067K: .Zygote
8,547K: .Zygote
After:
4,881K: .Zygote
5,003K: .Zygote
5,582K: .Zygote
5,259K: .Zygote
5,176K: .Zygote
Bug: 12687968
Bug: 37219911
Test: Device boots
Test: test-art-host
(cherry picked from commit d5a67447de577546b76c0565aed5af56176bbeb4)
Change-Id: I4746c4829056f558b454c78c5991426feb460904
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions