OSDN Git Service

ART: reduce UpdateModUnionTable time for partial GC
authorLei Li <lei.l.li@intel.com>
Fri, 23 Jan 2015 08:37:59 +0000 (16:37 +0800)
committerHaitao Feng <haitao.feng@intel.com>
Fri, 23 Jan 2015 08:54:30 +0000 (16:54 +0800)
commit3befba443e36251cce81cf49a974b9063b36e669
treedf6525ddf11f088acddf0f0513e493f25626cf75
parent452773fec59e033da4bb258a64bd65bd2ae658e8
ART: reduce UpdateModUnionTable time for partial GC

UpdateModUnionTable is to scan objects with dirty cards in the immune
region. The immune region of partial GC are image space and zygote
space. As image space is always immuned for any kind of GC, there is no
need to scan dirty cards of zygote space pointing to image space for
partial GC.

Change-Id: I2e1f61c2b361985c211076a441418797abf324c2
runtime/gc/accounting/mod_union_table.cc