Searched refs:compareAndSwapInt (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/
H A DAtomicBoolean.java52 // 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 DAtomicInteger.java55 // 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 DAtomicIntegerArray.java172 return unsafe.compareAndSwapInt(array, offset, expect, update);
H A DAtomicIntegerFieldUpdater.java309 return unsafe.compareAndSwapInt(obj, offset, expect, update);
314 return unsafe.compareAndSwapInt(obj, offset, expect, update);
/openjdk7/hotspot/test/compiler/8004867/
H A DTestIntUnsafeCAS.java773 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 DFutureTask.java168 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 DForkJoinPool.java977 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 DForkJoinTask.java240 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 DLinkedTransferQueue.java577 return UNSAFE.compareAndSwapInt(this, sweepVotesOffset, cmp, val);
H A DPriorityBlockingQueue.java281 UNSAFE.compareAndSwapInt(this, allocationSpinLockOffset,
/openjdk7/jdk/src/share/classes/sun/misc/
H A DUnsafe.java890 public final native boolean compareAndSwapInt(Object o, long offset, method in class:Unsafe
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/
H A DAbstractQueuedSynchronizer.java566 return unsafe.compareAndSwapInt(this, stateOffset, expect, update);
2318 return unsafe.compareAndSwapInt(node, waitStatusOffset,
H A DAbstractQueuedLongSynchronizer.java2097 return unsafe.compareAndSwapInt(node, waitStatusOffset,

Completed in 94 milliseconds