Home
last modified time | relevance | path

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

/art/test/004-UnsafeTest/src/
DMain.java124 if (unsafe.compareAndSwapInt(t, intOffset, 0, 1)) { in testGetAndPutAndCAS()
127 if (!unsafe.compareAndSwapInt(t, intOffset, intValue, 0)) { in testGetAndPutAndCAS()
131 if (!unsafe.compareAndSwapInt(t, intOffset, 0, 1)) { in testGetAndPutAndCAS()
136 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.cc504 FAST_NATIVE_METHOD(Unsafe, compareAndSwapInt, "(Ljava/lang/Object;JII)Z"),