--- old/src/hotspot/cpu/x86/macroAssembler_x86.cpp 2018-06-13 04:02:25.221536126 -0400 +++ new/src/hotspot/cpu/x86/macroAssembler_x86.cpp 2018-06-13 04:02:24.905519531 -0400 @@ -5253,7 +5253,7 @@ testptr(value, JNIHandles::weak_tag_mask); // Test for jweak tag. jcc(Assembler::zero, not_weak); // Resolve jweak. - access_load_at(T_OBJECT, IN_ROOT | ON_PHANTOM_OOP_REF, + access_load_at(T_OBJECT, IN_NATIVE | ON_PHANTOM_OOP_REF, value, Address(value, -JNIHandles::weak_tag_value), tmp, thread); verify_oop(value); jmp(done);