summaryrefslogtreecommitdiffstats
path: root/test/476-checker-ctor-memory-barrier
Commit message (Collapse)AuthorAgeFilesLines
* [optimizing] Add memory barriers in constructors when neededCalin Juravle2015-04-203-0/+149
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