< prev index next >
src/java.base/share/classes/java/lang/invoke/VarHandle.java
Print this page
*** 1997,2007 ****
/*non-public*/
final void updateVarForm(VarForm newVForm) {
if (vform == newVForm) return;
! UNSAFE.putObject(this, VFORM_OFFSET, newVForm);
UNSAFE.fullFence();
}
static final BiFunction<String, List<Integer>, ArrayIndexOutOfBoundsException>
AIOOBE_SUPPLIER = Preconditions.outOfBoundsExceptionFormatter(
--- 1997,2007 ----
/*non-public*/
final void updateVarForm(VarForm newVForm) {
if (vform == newVForm) return;
! UNSAFE.putReference(this, VFORM_OFFSET, newVForm);
UNSAFE.fullFence();
}
static final BiFunction<String, List<Integer>, ArrayIndexOutOfBoundsException>
AIOOBE_SUPPLIER = Preconditions.outOfBoundsExceptionFormatter(
< prev index next >