HomeSort by relevance Sort by last modified time
    Searched refs:compareAndSwapInt (Results 1 - 19 of 19) sorted by null

  /libcore/luni/src/main/java/java/util/concurrent/atomic/
AtomicBoolean.java 71 return U.compareAndSwapInt(this, VALUE,
89 return U.compareAndSwapInt(this, VALUE,
AtomicInteger.java 105 return U.compareAndSwapInt(this, VALUE, expect, update);
121 return U.compareAndSwapInt(this, VALUE, expect, update);
AtomicIntegerFieldUpdater.java 441 return U.compareAndSwapInt(obj, offset, expect, update);
446 return U.compareAndSwapInt(obj, offset, expect, update);
AtomicIntegerArray.java 140 return U.compareAndSwapInt(array, offset, expect, update);
Striped64.java 156 return U.compareAndSwapInt(this, CELLSBUSY, 0, 1);
  /libcore/luni/src/main/java/java/util/concurrent/
CountedCompleter.java 510 return U.compareAndSwapInt(this, PENDING, expected, count);
522 !U.compareAndSwapInt(this, PENDING, c, c - 1));
555 else if (U.compareAndSwapInt(a, PENDING, c, c - 1))
578 else if (U.compareAndSwapInt(a, PENDING, c, c - 1))
623 else if (U.compareAndSwapInt(this, PENDING, c, c - 1))
FutureTask.java 138 U.compareAndSwapInt(this, STATE, NEW,
202 if (U.compareAndSwapInt(this, STATE, NEW, COMPLETING)) {
220 if (U.compareAndSwapInt(this, STATE, NEW, COMPLETING)) {
Exchanger.java 379 U.compareAndSwapInt(this, BOUND, b, b + SEQ - 1);
401 !U.compareAndSwapInt(this, BOUND, b, b + SEQ + 1)) {
440 U.compareAndSwapInt(this, BOUND, 0, SEQ))
ForkJoinTask.java 237 if (U.compareAndSwapInt(this, STATUS, s, s | completion)) {
275 U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) {
297 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) {
331 if (U.compareAndSwapInt(this, STATUS, s, s | SIGNAL)) {
    [all...]
ConcurrentHashMap.java     [all...]
ForkJoinPool.java     [all...]
PriorityBlockingQueue.java 263 U.compareAndSwapInt(this, ALLOCATIONSPINLOCK, 0, 1)) {
    [all...]
LinkedTransferQueue.java 549 return U.compareAndSwapInt(this, SWEEPVOTES, cmp, val);
    [all...]
  /art/test/004-UnsafeTest/src/
Main.java 112 if (unsafe.compareAndSwapInt(t, intOffset, 0, 1)) {
113 System.out.println("Unexpectedly succeeding compareAndSwapInt(t, intOffset, 0, 1)");
115 if (!unsafe.compareAndSwapInt(t, intOffset, intValue, 0)) {
117 "Unexpectedly not succeeding compareAndSwapInt(t, intOffset, intValue, 0)");
119 if (!unsafe.compareAndSwapInt(t, intOffset, 0, 1)) {
120 System.out.println("Unexpectedly not succeeding compareAndSwapInt(t, intOffset, 0, 1)");
122 // Exercise sun.misc.Unsafe.compareAndSwapInt using the same
124 if (!unsafe.compareAndSwapInt(t, intOffset, 1, 1)) {
125 System.out.println("Unexpectedly not succeeding compareAndSwapInt(t, intOffset, 1, 1)");
  /libcore/ojluni/src/main/java/sun/misc/
Unsafe.java 128 public native boolean compareAndSwapInt(Object obj, long offset,
417 } while (!compareAndSwapInt(o, offset, v, v + delta));
457 } while (!compareAndSwapInt(o, offset, v, newValue));
  /libcore/luni/src/main/java/java/util/concurrent/locks/
StampedLock.java     [all...]
AbstractQueuedSynchronizer.java 491 return U.compareAndSwapInt(this, WAITSTATUS, expect, update);
569 return U.compareAndSwapInt(this, STATE, expect, update);
    [all...]
  /art/test/MyClassNatives/
MyClassNatives.java 34 native boolean compareAndSwapInt(Object obj, long offset, int expected, int newval);
  /art/runtime/native/
sun_misc_Unsafe.cc 490 NATIVE_METHOD(Unsafe, compareAndSwapInt, "!(Ljava/lang/Object;JII)Z"),

Completed in 748 milliseconds