diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-01-23 13:18:53 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-02-26 14:48:46 -0800 |
commit | 4858a935868162266ead90ef2f7802108711371d (patch) | |
tree | f9c0fb37e188223122e3b823b0f0000e0e20c228 /test/MultiDex/Second.java | |
parent | 0644b2dae97d13bec14840cccb11b54697c34a34 (diff) |
Change card cache mod-union table to use bitmaps
Previously used card sets, using bitmaps saves memory and slightly
increases performance.
Added mod union table test.
Performance EvaluateAndApplyChanges (minimal changes):
Before (card cache image mu table):
UpdateAndMarkImageModUnionTable: Avg: 524.320us
ImageModUnionClearCards: Avg: 54.580us
Native PSS: ~67500kB
After (card cache image mu table):
UpdateAndMarkImageModUnionTable: Avg: 515.600us
ImageModUnionClearCards: Avg: 53.780us
Native PSS: ~66014kB
Native PSS was higher before since the mod_union_table->SetCards()
which happens pre zygote fork was allocating a large amount of
std::nodes.
Bug: 11859910
Change-Id: I956b7e51d5572feec1393ffa618b7b7d8c147b28
Diffstat (limited to 'test/MultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions