summaryrefslogtreecommitdiff
path: root/runtime/class_linker_test.cc
diff options
context:
space:
mode:
author Ulya Trafimovich <skvadrik@google.com> 2022-01-14 15:53:42 +0000
committer Ulya Trofimovich <skvadrik@google.com> 2022-01-17 14:52:07 +0000
commita3759ca5d8fd80cb1cf0856dd128f9a92c4c12f6 (patch)
treee5e1b92e09387793e128a791f0c6bdb21a3f49b3 /runtime/class_linker_test.cc
parent70102e618a82c41c0e0c790db6959bc58d4837de (diff)
arm: Implement Unsafe.compareAndSetObject intrinsic.
The implementation is the same as Unsafe.compareAndSwapObject, as the latter operation has compare-and-set semantics. Benchmarks improvements (using benchmarks provided by https://android-review.googlesource.com/1420959): benchmark before after ----------------------------------------------------- UnsafeCompareAndSetStaticFieldString 4.209 0.027 UnsafeCompareAndSetFieldString 4.212 0.025 Bug: 71781600 Bug: 202868177 Test: art/test.py --target -r -t 712-varhandle-invocations Change-Id: Ib6f071d5bc118018bec36204718ba0089df13302
Diffstat (limited to 'runtime/class_linker_test.cc')
0 files changed, 0 insertions, 0 deletions