diff options
author | Lokesh Gidra <lokeshgidra@google.com> | 2018-12-11 15:05:56 -0800 |
---|---|---|
committer | Lokesh Gidra <lokeshgidra@google.com> | 2018-12-12 14:03:49 -0800 |
commit | 8f5aaadacaa9fd0ea382d23318e394b069bb168a (patch) | |
tree | d90c156c75b9b570b305c0ad83493a75bbf0287a /compiler/optimizing/graph_visualizer.cc | |
parent | 5de31a1dd5ac6e12b37517550a609b9c0576f685 (diff) |
Fix reference-type obj handling in generational CC
Reference-type objects in old generation with referent in young
generation are not handled correctly. During card-table scan, we only
visit such objects, which does not process the referent. Also, we don't
set the read-barrier state to gray. Eventually, if the mutator calls
GetReferent() on such objects (after done_scanning_ is set to true),
then the read barrier will not be called, breaking the to-space
invariant.
Test: art/tests/testrunner/testrunner.py --target
Bug: 120792243
Change-Id: I53e8f0bc99ef99eb6e0ea7d743a6185d37d7ff8c
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions