diff options
author | Calin Juravle <calin@google.com> | 2015-04-17 19:12:31 +0100 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2015-04-20 14:02:51 +0100 |
commit | 27df758e2e7baebb6e3f393f9732fd0d064420c8 (patch) | |
tree | 261207281fd574deffb4dc1c1bc6bea8f150993e /test/MultiDexModifiedSecondary/Second.java | |
parent | f8bdd9f3a002970e4b8fdcf6fe6730116f1626c3 (diff) |
[optimizing] Add memory barriers in constructors when needed
If a class has final fields we must add a memory barrier before
returning from constructor. This makes sure the fields are visible to
other threads.
Bug: 19851497
Change-Id: If8c485092fc512efb9636cd568cb0543fb27688e
Diffstat (limited to 'test/MultiDexModifiedSecondary/Second.java')
0 files changed, 0 insertions, 0 deletions