commit | b488b7864b7bf9cade82d45c8bdda2372f48a10c | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Thu Oct 22 11:38:49 2015 +0100 |
committer | Roland Levillain <rpl@google.com> | Thu Oct 22 11:38:49 2015 +0100 |
tree | 84b273034863075fbac2fbe0bd4d64fad95728e3 | |
parent | 534a9b68ec5e8dda8f6e0a07bf0fdbaeb0cedbfe [diff] |
Fix heap poisoning in UnsafeCASObject x86/x86-64 intrinsic. Properly handle the case when the same object is passed to sun.misc.Unsafe.compareAndSwapObject for the `obj` and `newValue` arguments (named `base` and `value` in the intrinsic implementation) and re-enable this intrinsic. Also convert some reinterpret_casts to down_casts. Bug: 12687968 Change-Id: I82167cfa77840ae2cdb45b9f19f5f530858fe7e8