diff options
author | Igor Murashkin <iam@google.com> | 2017-05-18 15:45:17 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2017-05-19 09:50:24 -0700 |
commit | 76c7665802411e597a228439f354acf1dc53e3d2 (patch) | |
tree | 08697bfeb3854fe0f385f932428349b56fbd8f90 /test/MultiDex/Second.java | |
parent | de31d084f7d64c94911aef927798559d39759f95 (diff) |
heap: Tolerate rosalloc allocation races in the heap visitor
When a new object is allocated by rosalloc, the fast path no longer
needs a memory barrier prior to being pushed to the object stack.
The heap visitor will check if the object's class is actually valid
(i.e. it's class's class is the ClassClass) and skip it otherwise.
This enables us to remove the DMB from the art_quick_alloc*initialized
entrypoints a follow-up CL for a speed-up.
Bug: 36656456
Bug: 36447861
Bug: 28790624
Change-Id: I28c75ce6828eba45529a6a12973181c9d616eb9f
Diffstat (limited to 'test/MultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions