summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorLokesh Gidra <lokeshgidra@google.com>2018-12-11 15:05:56 -0800
committerLokesh Gidra <lokeshgidra@google.com>2018-12-12 14:03:49 -0800
commit8f5aaadacaa9fd0ea382d23318e394b069bb168a (patch)
treed90c156c75b9b570b305c0ad83493a75bbf0287a /compiler/optimizing/graph_visualizer.cc
parent5de31a1dd5ac6e12b37517550a609b9c0576f685 (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