diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-07-18 11:11:45 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-07-18 15:02:27 -0700 |
commit | 011dc2c4b9f3a064cba801679aedd3251fe191e3 (patch) | |
tree | 08924388d8a91759c8aa7acfc1bc53153605e4df /compiler/optimizing/graph_visualizer.cc | |
parent | 4c489f48ef432126b8e7a84b61c1c13a7514c085 (diff) |
Do allocation fence before pushing on allocation stack
Heap::VisitObjects relies on having valid classes for objects in
the allocation stack. If the writes reorder, the thread calling
VisitObjects could see the free list pointer instead of the class
of the object. I believe this is causing crashes in VisitObjects.
Bug: 28790624
Test: Volantis booted
Change-Id: I0f2d4097de1ef3f5caf670ecc977d4d6837872ca
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions