summaryrefslogtreecommitdiffstats
path: root/runtime/intern_table.cc
diff options
context:
space:
mode:
authorJeff Hao <jeffhao@google.com>2013-09-12 17:20:31 -0700
committerJeff Hao <jeffhao@google.com>2013-09-13 01:43:24 +0000
commit6fc9251ae4f34c31351d9d902dd6c6cbc7baba1c (patch)
tree7c1f7b32093b9837e890ab9a76338c0b5b87a26a /runtime/intern_table.cc
parent95848d01adae14c6a9ba433f6789a9462edb8e7d (diff)
downloadart-6fc9251ae4f34c31351d9d902dd6c6cbc7baba1c.zip
art-6fc9251ae4f34c31351d9d902dd6c6cbc7baba1c.tar.gz
art-6fc9251ae4f34c31351d9d902dd6c6cbc7baba1c.tar.bz2
Make inlined CAS32 loop until store is successful if values match.
The native implementation of compareAndSwap uses android_atomic_cas, which will repeat the strex until it succeeds. The compiled version was changed to do the same. Bug: 10530407 Change-Id: I7efb3f92d0d0610fcc5a885e2c97f1d701b5a4ea (cherry picked from commit 2de2aa1a96dfa5bebc004f29b5dbfafd37039cee)
Diffstat (limited to 'runtime/intern_table.cc')
0 files changed, 0 insertions, 0 deletions