/libcore/luni/src/main/java/java/util/concurrent/ |
CountedCompleter.java | 496 do {} while (!U.compareAndSwapInt(this, PENDING, c = pending, c+delta)); 508 return U.compareAndSwapInt(this, PENDING, expected, count); 520 !U.compareAndSwapInt(this, PENDING, c, c - 1)); 553 else if (U.compareAndSwapInt(a, PENDING, c, c - 1)) 576 else if (U.compareAndSwapInt(a, PENDING, c, c - 1)) 620 else if (U.compareAndSwapInt(this, PENDING, c, c - 1))
|
FutureTask.java | 137 UNSAFE.compareAndSwapInt(this, stateOffset, NEW, 201 if (UNSAFE.compareAndSwapInt(this, stateOffset, NEW, COMPLETING)) { 219 if (UNSAFE.compareAndSwapInt(this, stateOffset, NEW, COMPLETING)) {
|
Exchanger.java | 384 U.compareAndSwapInt(this, BOUND, b, b + SEQ - 1); 406 !U.compareAndSwapInt(this, BOUND, b, b + SEQ + 1)) { 445 U.compareAndSwapInt(this, BOUND, 0, SEQ))
|
ForkJoinPool.java | [all...] |
ForkJoinTask.java | 242 if (U.compareAndSwapInt(this, STATUS, s, s | completion)) { 280 return s >= 0 && U.compareAndSwapInt(this, STATUS, s, s | SIGNAL); 292 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { 320 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) { [all...] |
LinkedTransferQueue.java | 549 return UNSAFE.compareAndSwapInt(this, sweepVotesOffset, cmp, val); [all...] |
PriorityBlockingQueue.java | 253 UNSAFE.compareAndSwapInt(this, allocationSpinLockOffset,
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicBoolean.java | 23 // setup to use Unsafe.compareAndSwapInt for updates 72 return unsafe.compareAndSwapInt(this, valueOffset, e, u); 90 return unsafe.compareAndSwapInt(this, valueOffset, e, u);
|
AtomicInteger.java | 26 // setup to use Unsafe.compareAndSwapInt for updates 106 return unsafe.compareAndSwapInt(this, valueOffset, expect, update); 122 return unsafe.compareAndSwapInt(this, valueOffset, expect, update);
|
AtomicIntegerArray.java | 142 return unsafe.compareAndSwapInt(array, offset, expect, update);
|
AtomicIntegerFieldUpdater.java | 312 return unsafe.compareAndSwapInt(obj, offset, expect, update); 317 return unsafe.compareAndSwapInt(obj, offset, expect, update);
|
/art/test/MyClassNatives/ |
MyClassNatives.java | 34 native boolean compareAndSwapInt(Object obj, long offset, int expected, int newval);
|
/libcore/libart/src/main/java/sun/misc/ |
Unsafe.java | 130 public native boolean compareAndSwapInt(Object obj, long offset,
|
/libcore/libdvm/src/main/java/sun/misc/ |
Unsafe.java | 142 public native boolean compareAndSwapInt(Object obj, long offset,
|
/art/runtime/native/ |
sun_misc_Unsafe.cc | 161 NATIVE_METHOD(Unsafe, compareAndSwapInt, "(Ljava/lang/Object;JII)Z"),
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
AbstractQueuedSynchronizer.java | 545 return unsafe.compareAndSwapInt(this, stateOffset, expect, update); [all...] |
AbstractQueuedLongSynchronizer.java | [all...] |