Lines Matching refs:unsafe
8 import sun.misc.Unsafe;
26 // setup to use Unsafe.compareAndSwapLong for updates
27 private static final Unsafe unsafe = Unsafe.getUnsafe();
32 * compareAndSwap for longs. While the Unsafe.compareAndSwapLong
46 valueOffset = unsafe.objectFieldOffset
93 unsafe.putOrderedLong(this, valueOffset, newValue);
120 return unsafe.compareAndSwapLong(this, valueOffset, expect, update);
136 return unsafe.compareAndSwapLong(this, valueOffset, expect, update);