commit | 5df32d376713499722c5cf17d7d94543295953dc | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Tue Dec 06 16:02:27 2016 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Dec 09 15:25:20 2016 -0800 |
tree | f8687d5cfcc606a9b2ad02e809917513c978add9 | |
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