Searched refs:compareAndSwapInt (Results 1 – 3 of 3) sorted by relevance
/art/test/004-UnsafeTest/src/ |
D | Main.java | 139 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/ |
D | MyClassNatives.java | 61 native boolean compareAndSwapInt(Object obj, long offset, int expected, int newval); in compareAndSwapInt() method in MyClassNatives
|
/art/runtime/native/ |
D | sun_misc_Unsafe.cc | 545 FAST_NATIVE_METHOD(Unsafe, compareAndSwapInt, "(Ljava/lang/Object;JII)Z"),
|