Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [optimizing] Add memory barriers in constructors when needed | Calin Juravle | 2015-04-20 | 3 | -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 |