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 (cherry picked from commit 011dc2c4) Change-Id: Ib620acbcd641ccd59fea9a66f5587c5026110a22
Loading
Please sign in to comment