This class may be removed in the future. Consider the replacements in JEP 193 'Variable Handles': http://openjdk.java.net/jeps/193
@Override public void putIntVolatile(long byteIndex, int i) { unsafe.putIntVolatile(null, baseAdress + byteIndex, i); }
@Override public void putIntVolatile(long byteIndex, int i) { unsafe.putIntVolatile(base, off + byteIndex, i); }
public static void putIntVolatile( Object obj, long offset, int value ) { unsafe.putIntVolatile( obj, offset, value ); }
/** * Stores integer value with volatile semantic. * * @param obj Object. * @param off Offset. * @param val Value. */ public static void putIntVolatile(Object obj, long off, int val) { UNSAFE.putIntVolatile(obj, off, val); }
@Override public void putIntVolatile(long byteIndex, int i) { unsafe.putIntVolatile(null, baseAdress + byteIndex, i); }
@Override public void putIntVolatile(long byteIndex, int i) { unsafe.putIntVolatile(base, off + byteIndex, i); }
public void putIntVolatile(Object o, long offset, int v) { this.unsafe.putIntVolatile(o, offset, v); }
public void putIntVolatile(Object target, long offset, int value) { unsafe.putIntVolatile(target, offset, value); }
public void putIntVolatile(Object target, long offset, int value) { unsafe.putIntVolatile(target, offset, value); }
public static void putIntVolatile( long address, int value ) { checkAccess( address, Integer.BYTES ); unsafe.putIntVolatile( null, address, value ); }
/** * Sets the element at position {@code i} to the given value. * * @param i the index * @param newValue the new value */ public final void set(int i, int newValue) { unsafe.putIntVolatile(array, checkedByteOffset(i), newValue); }
public void set(T obj, int newValue) { if (obj == null || obj.getClass() != tclass || cclass != null) fullCheck(obj); unsafe.putIntVolatile(obj, offset, newValue); }
public void putIntVolatile(final long index, final int value) { if (SHOULD_BOUNDS_CHECK) { boundsCheck0(index, SIZE_OF_INT); } UNSAFE.putIntVolatile(null, addressOffset + index, value); }
public void putIntVolatile(final int index, final int value) { if (SHOULD_BOUNDS_CHECK) { boundsCheck0(index, SIZE_OF_INT); } UNSAFE.putIntVolatile(byteArray, addressOffset + index, value); }
public void setProperty(Object obj, Object value) { if (value == null) return; theUnsafe.putIntVolatile(obj, offset, ((Number) value).intValue()); }
/** * Writes an int (volatile) to the specified position. * * @param pos * the position in the memory addrress * @param val * the value to write */ public static void putIntVolatile(long pos, int val) { unsafe.putIntVolatile(null, pos, val); }
/** * Sets the element at position {@code i} to the given value. * * @param i the index * @param newValue the new value */ public final void set(int i, int newValue) { unsafe.putIntVolatile(array, checkedByteOffset(i), newValue); }
public void putIntVolatile(final long index, final int value) { if (SHOULD_BOUNDS_CHECK) { boundsCheck0(index, SIZE_OF_INT); } UNSAFE.putIntVolatile(null, addressOffset + index, value); }
/** * Sets the element at position {@code i} to the given value. * * @param i the index * @param newValue the new value */ public final void set(int i, int newValue) { unsafe.putIntVolatile(array, checkedByteOffset(i), newValue); }
@Override public void putIntVolatile(Object base, long offset, int x) { AlignmentUtil.check4BytesAligned(offset); UNSAFE.putIntVolatile(base, offset, x); }