--- old/src/hotspot/cpu/x86/vtableStubs_x86_64.cpp 2019-03-11 14:25:00.062356069 +0100 +++ new/src/hotspot/cpu/x86/vtableStubs_x86_64.cpp 2019-03-11 14:24:59.858356072 +0100 @@ -118,7 +118,7 @@ Label L; __ cmpptr(method, (int32_t)NULL_WORD); __ jcc(Assembler::equal, L); - __ cmpptr(Address(method, Method::from_compiled_offset()), (int32_t)NULL_WORD); + __ cmpptr(Address(method, Method::from_compiled_value_ro_offset()), (int32_t)NULL_WORD); __ jcc(Assembler::notZero, L); __ stop("Vtable entry is NULL"); __ bind(L); @@ -129,7 +129,7 @@ // method (rbx): Method* // rcx: receiver address ame_addr = __ pc(); - __ jmp( Address(rbx, Method::from_compiled_offset())); + __ jmp( Address(rbx, Method::from_compiled_value_ro_offset())); masm->flush(); slop_bytes += index_dependent_slop; // add'l slop for size variance due to large itable offsets @@ -235,7 +235,7 @@ Label L2; __ cmpptr(method, (int32_t)NULL_WORD); __ jcc(Assembler::equal, L2); - __ cmpptr(Address(method, Method::from_compiled_offset()), (int32_t)NULL_WORD); + __ cmpptr(Address(method, Method::from_compiled_value_ro_offset()), (int32_t)NULL_WORD); __ jcc(Assembler::notZero, L2); __ stop("compiler entrypoint is null"); __ bind(L2); @@ -243,7 +243,7 @@ #endif // ASSERT address ame_addr = __ pc(); - __ jmp(Address(method, Method::from_compiled_offset())); + __ jmp(Address(method, Method::from_compiled_value_ro_offset())); __ bind(L_no_such_interface); // Handle IncompatibleClassChangeError in itable stubs.