Searched refs:compareAndSwapInt (Results 1 - 13 of 13) sorted by relevance
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/ |
H A D | AtomicBoolean.java | 52 // setup to use Unsafe.compareAndSwapInt for updates 101 return unsafe.compareAndSwapInt(this, valueOffset, e, u); 119 return unsafe.compareAndSwapInt(this, valueOffset, e, u);
|
H A D | AtomicInteger.java | 55 // setup to use Unsafe.compareAndSwapInt for updates 135 return unsafe.compareAndSwapInt(this, valueOffset, expect, update); 151 return unsafe.compareAndSwapInt(this, valueOffset, expect, update);
|
H A D | AtomicIntegerArray.java | 172 return unsafe.compareAndSwapInt(array, offset, expect, update);
|
H A D | AtomicIntegerFieldUpdater.java | 309 return unsafe.compareAndSwapInt(obj, offset, expect, update); 314 return unsafe.compareAndSwapInt(obj, offset, expect, update);
|
/openjdk7/hotspot/test/compiler/8004867/ |
H A D | TestIntUnsafeCAS.java | 773 unsafe.compareAndSwapInt(a, byte_offset(i), -1, -123); 778 unsafe.compareAndSwapInt(a, byte_offset(i), old, b); 783 unsafe.compareAndSwapInt(a, byte_offset(i), -123, b[i]); 788 unsafe.compareAndSwapInt(a, byte_offset(i), 123, -123); 789 unsafe.compareAndSwapInt(b, byte_offset(i), 123, -103); 794 unsafe.compareAndSwapInt(a, byte_offset(i), -123, c); 795 unsafe.compareAndSwapInt(b, byte_offset(i), -103, d); 800 unsafe.compareAndSwapInt(a, byte_offset(i), old, -123); 805 unsafe.compareAndSwapInt(a, byte_offset(i), old, b); 810 unsafe.compareAndSwapInt( [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | FutureTask.java | 168 if (!UNSAFE.compareAndSwapInt(this, stateOffset, NEW, INTERRUPTING)) 175 else if (!UNSAFE.compareAndSwapInt(this, stateOffset, NEW, CANCELLED)) 226 if (UNSAFE.compareAndSwapInt(this, stateOffset, NEW, COMPLETING)) { 244 if (UNSAFE.compareAndSwapInt(this, stateOffset, NEW, COMPLETING)) {
|
H A D | ForkJoinPool.java | 977 if (UNSAFE.compareAndSwapInt(this, blockedCountOffset, b, b + 1)) { 1014 } while (!UNSAFE.compareAndSwapInt(this, blockedCountOffset, 1028 do {} while (!UNSAFE.compareAndSwapInt(this, blockedCountOffset, 1141 if (UNSAFE.compareAndSwapInt(this, nextWorkerNumberOffset, 1166 UNSAFE.compareAndSwapInt(this, scanGuardOffset, 1216 UNSAFE.compareAndSwapInt(this, scanGuardOffset, 1364 do {} while (!UNSAFE.compareAndSwapInt(this, quiescerCountOffset,
|
H A D | ForkJoinTask.java | 240 if (UNSAFE.compareAndSwapInt(this, statusOffset, s, completion)) { 260 UNSAFE.compareAndSwapInt(this, statusOffset, 0, SIGNAL))) && 283 UNSAFE.compareAndSwapInt(this, statusOffset, 312 UNSAFE.compareAndSwapInt(this, statusOffset,
|
H A D | LinkedTransferQueue.java | 577 return UNSAFE.compareAndSwapInt(this, sweepVotesOffset, cmp, val);
|
H A D | PriorityBlockingQueue.java | 281 UNSAFE.compareAndSwapInt(this, allocationSpinLockOffset,
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Unsafe.java | 890 public final native boolean compareAndSwapInt(Object o, long offset, method in class:Unsafe
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/ |
H A D | AbstractQueuedSynchronizer.java | 566 return unsafe.compareAndSwapInt(this, stateOffset, expect, update); 2318 return unsafe.compareAndSwapInt(node, waitStatusOffset,
|
H A D | AbstractQueuedLongSynchronizer.java | 2097 return unsafe.compareAndSwapInt(node, waitStatusOffset,
|
Completed in 94 milliseconds