diff -r 079d100b3d0e -r 44122f767467 src/hotspot/share/opto/library_call.cpp --- a/src/hotspot/share/opto/library_call.cpp Wed Feb 21 23:30:01 2018 -0500 +++ b/src/hotspot/share/opto/library_call.cpp Thu Feb 22 10:39:42 2018 +0100 @@ -2408,7 +2408,7 @@ offset = argument(2); // type: long // We currently rely on the cookies produced by Unsafe.xxxFieldOffset // to be plain byte offsets, which are also the same as those accepted - // by oopDesc::field_base. + // by oopDesc::field_addr. assert(Unsafe_field_offset_to_byte_offset(11) == 11, "fieldOffset must be byte-scaled"); // 32-bit machines ignore the high half! @@ -2838,7 +2838,7 @@ // Build field offset expression. // We currently rely on the cookies produced by Unsafe.xxxFieldOffset // to be plain byte offsets, which are also the same as those accepted - // by oopDesc::field_base. + // by oopDesc::field_addr. assert(Unsafe_field_offset_to_byte_offset(11) == 11, "fieldOffset must be byte-scaled"); // 32-bit machines ignore the high half of long offsets offset = ConvL2X(offset);