Home
last modified time | relevance | path

Searched refs:compareAndSwapInt (Results 1 – 3 of 3) sorted by relevance

/art/test/004-UnsafeTest/src/
DMain.java139 if (unsafe.compareAndSwapInt(t, intOffset, 0, 1)) { in testGetAndPutAndCAS()
142 if (!unsafe.compareAndSwapInt(t, intOffset, intValue, 0)) { in testGetAndPutAndCAS()
146 if (!unsafe.compareAndSwapInt(t, intOffset, 0, 1)) { in testGetAndPutAndCAS()
151 if (!unsafe.compareAndSwapInt(t, intOffset, 1, 1)) { in testGetAndPutAndCAS()
/art/test/MyClassNatives/
DMyClassNatives.java61 native boolean compareAndSwapInt(Object obj, long offset, int expected, int newval); in compareAndSwapInt() method in MyClassNatives
/art/runtime/native/
Dsun_misc_Unsafe.cc545 FAST_NATIVE_METHOD(Unsafe, compareAndSwapInt, "(Ljava/lang/Object;JII)Z"),