OSDN Git Service

Add missing card mark verification to CC
authorMathieu Chartier <mathieuc@google.com>
Wed, 15 Feb 2017 03:24:22 +0000 (19:24 -0800)
committerMathieu Chartier <mathieuc@google.com>
Tue, 21 Feb 2017 20:43:06 +0000 (12:43 -0800)
commit49ba69667ce70f8efbed7d68814ab184bee53486
tree65f632ff9f9c73574a410308a6ce1b3fd117b7e0
parent30e015c442c8033390c30d2f293604723c29bc75
Add missing card mark verification to CC

Easier than adapting the code in heap.cc to do this. The verification
ensures that objects on clean cards never reference objects in newly
allocated regions.

Revert some changes from aog/341344 that caused the verification to
fail.

Bug: 12687968

Test: test-art-host with CC

Change-Id: Iad583644bb76633ccea0dba87cb383f30adaa80b
runtime/class_linker.cc
runtime/entrypoints/quick/quick_dexcache_entrypoints.cc
runtime/gc/collector/concurrent_copying.cc
runtime/gc/collector/concurrent_copying.h
runtime/gc/space/region_space.h