commit | ec32b91cfa1061b2608838d41e6d7d70fdf681dc | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Fri Oct 21 14:47:26 2016 +0100 |
committer | Roland Levillain <rpl@google.com> | Fri Oct 21 15:09:06 2016 +0100 |
tree | 31d69c22423faf20aa72915f5c26fa7dc3213242 | |
parent | 6c42676b466c4f08cfa6ca43da65bc74f48dc063 [diff] |
Remove read barrier in UnstartedUnsafeCompareAndSwapLong. art::interpreter::UnstartedRuntime::UnstartedUnsafeCompareAndSwapLong manipulates a long field and does not need a read barrier (read barriers are only required when loading an object reference from the heap). Test: ART_USE_READ_BARRIER=true make test-art-host Bug: 12687968 Change-Id: Ia46590e649a7bb46ca4b3c90bab03fb3a836563d