diff options
author | Igor Murashkin <iam@google.com> | 2017-05-18 15:50:59 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2017-05-24 15:40:01 +0000 |
commit | 2f470edaff2a5c55d657a43b54e5188ed2bf1227 (patch) | |
tree | 0272269baed0135d738d5ecacd347b7a2a733139 /compiler/optimizing/graph_visualizer.cc | |
parent | 76c7665802411e597a228439f354acf1dc53e3d2 (diff) |
entrypoints: Remove DMBs from art_quick_alloc initialized variants.
Remove the DMBs from the initialized allocation entrypoints only.
This is safe because the compiler now emits "DMB ISHST" that protects
the object for publication.
Non-initialized (resolved) entrypoints still have the "DMB ISH" because
they double as class-initialization checks, so they need to act as a
"acquire-load class status" to ensure any static field reads that follow
the new-instance or new-array would be data-race-free.
(See also b/36692143 to remove redundant barriers for class
initialization checks.)
Bug: 36656456
Bug: 36447861
Change-Id: Ie342c7e7d89febd8420cd42d8c1acf282be54c0f
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions