< prev index next >

src/hotspot/cpu/aarch64/methodHandles_aarch64.cpp

Print this page
@@ -320,11 +320,11 @@
        if (iid == vmIntrinsics::_linkToSpecial) {
          // Don't actually load the klass; just null-check the receiver.
          __ null_check(receiver_reg);
        } else {
          // load receiver klass itself
-         __ null_check(receiver_reg, oopDesc::klass_offset_in_bytes());
+         __ null_check(receiver_reg, oopDesc::mark_offset_in_bytes());
          __ load_klass(temp1_recv_klass, receiver_reg);
          __ verify_klass_ptr(temp1_recv_klass);
        }
        BLOCK_COMMENT("check_receiver {");
        // The receiver for the MemberName must be in receiver_reg.
< prev index next >