diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-12-06 16:02:27 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-12-09 15:25:20 -0800 |
commit | 5df32d376713499722c5cf17d7d94543295953dc (patch) | |
tree | f8687d5cfcc606a9b2ad02e809917513c978add9 /compiler/optimizing/graph_visualizer.cc | |
parent | 57096b723193486ab0a6acfdfb535d90b20f6073 (diff) |
Use store release for resolved types
For DefineClass, use a release store for SetResolvedType. This is
done to prevent other threads from seeing a class but not necessarily
seeing the loaded members like the static fields array.
It is theorized that a load acquire is not required since obtaining
the resolved class will always have an address depedency or a lock.
Bug: 32075261
Test: test-art-host
Change-Id: I8ab18edc2cc7c9eb4a30897903d5cf1c7f9eb24e
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions