8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference

Reviewed-by: dholmes, thartmann
This commit is contained in:
Mandy Chung 2018-10-22 17:00:04 -07:00
parent fd8d1cd6bf
commit 5e6d6b8642
70 changed files with 643 additions and 603 deletions

View file

@ -1999,7 +1999,7 @@ public abstract class VarHandle {
/*non-public*/
final void updateVarForm(VarForm newVForm) {
if (vform == newVForm) return;
UNSAFE.putObject(this, VFORM_OFFSET, newVForm);
UNSAFE.putReference(this, VFORM_OFFSET, newVForm);
UNSAFE.fullFence();
}