commit | cc78f3f87b0b8c6b0fb759e698840898940d4865 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Fri Dec 11 15:51:04 2015 -0800 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Wed Dec 16 11:54:42 2015 -0800 |
tree | a32c3976753da46d5368a1863c1b9072b75d5cfd | |
parent | 277da370dd517af0d6a27bef3b86d5f259feda62 [diff] |
Fix (non-intrinsic) UnsafeCASObject for the read barrier config. Make sure the field contains a to-space reference before attempting the CAS with a special read barrier to avoid an incorrect CAS failure. This is only about the non-intrinsic UnsafeCASObject. This seems to fix some jsr166 test failures. Also, remove the unused template parameter kMaybeDuringStartup. Bug: 25883050 Bug: 12687968 Change-Id: Ia6f0d882fa3d90c42f14968672d547babcdf6309