AtomicReferenceFieldUpdater.java | 9 import sun.misc.Unsafe; 157 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl 218 offset = unsafe.objectFieldOffset(field); 260 return unsafe.compareAndSwapObject(obj, offset, expect, update); 269 return unsafe.compareAndSwapObject(obj, offset, expect, update); 277 unsafe.putObjectVolatile(obj, offset, newValue); 285 unsafe.putOrderedObject(obj, offset, newValue); 292 return (V)unsafe.getObjectVolatile(obj, offset) [all...] |