commit | 0fcd2b84210db2bcf8b2d7a2b98a1a2bca367cac | [log] [tgz] |
---|---|---|
author | Sang, Chunlei <chunlei.sang@intel.com> | Tue Apr 05 17:12:59 2016 +0800 |
committer | Roland Levillain <rpl@google.com> | Thu Jun 23 14:05:17 2016 +0100 |
tree | 4619d1fb4bda64c01df3a6588b5c726510a72a1c | |
parent | 61b370e4559a84910fe5bf0b2b1d7216ce805315 [diff] |
Fix x86 & x86-64 UnsafeGetObject intrinsics with read barriers. The implementation was incorrectly interpreting the 'offset' input as an index in a (4-byte) object reference array, whereas it is a (1-byte) offset to an object reference field within the 'base' (object) input. Bug: 29516905 Change-Id: Idfbead8289222b55069816a81284401eff791e85 Test: Covered by test/004-UnsafeTest.