summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2017-04-20 19:28:54 -0700
committerMathieu Chartier <mathieuc@google.com>2017-04-21 09:26:58 -0700
commit3ed8ec10be0c79e7f7bbe73a754da0daf997b994 (patch)
tree53e3f3e105d1d4f582a3f35cf874a1f58e1328eb /compiler/optimizing/codegen_test_utils.h
parentbdbc63b892c571101a301ce805ca136acd769218 (diff)
Store java_lang_Object_ in the flip callback
There was a race where the GC thread would not have is_marking = true, and call WellKnownClasses::ToClass(WellKnownClasses::java_lang_Object). This meant that the returned class was maybe in the from-space for the no image case. The fix was to move this decoding into the flip callback since this callback is called before flipping any thread roots. Bug: 37531237 Bug: 12687968 Test: test-art-host Change-Id: I9a09249e9c6ea2b3b124e957a9e4b61017869306
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions