diff options
author | Alex Light <allight@google.com> | 2019-12-03 05:52:33 -0800 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2019-12-04 19:20:50 +0000 |
commit | a142f712dffa675e3cd175bca89f37ff7160a07f (patch) | |
tree | d8a830c79b702283f2883573fe630d4e13270b24 /compiler/optimizing/code_generator_vector_mips.cc | |
parent | 9b5271e53a76cbe3d269d1b70da7f13b9d944db1 (diff) |
Add missing Barriers in ReplaceReferences
While replacing references we would incorrectly fail to mark objects
if their references are accessed through the 'VisitRoot' visitor
function. This occurs with DexCache and ClassLoader objects, hitting
the caches and the class table respectively. This could cause problems
if a root was replaced and the reference was not replaced in any of
the other paths. In this case the objects page would not get marked
and the GC would (correctly) throw an error saying it missed a write.
Test: ./tools/parallel_run.py -j80
Test: ./art/test/run-test --host 2001
Bug: 134162467
Change-Id: I9a1ad15fd3986e92dfc39c6f87cebdb031492aab
Diffstat (limited to 'compiler/optimizing/code_generator_vector_mips.cc')
0 files changed, 0 insertions, 0 deletions