< prev index next >

src/hotspot/cpu/x86/methodHandles_x86.cpp

Print this page
*** 362,12 ***
        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());
-         __ load_klass(temp1_recv_klass, receiver_reg, temp2);
          __ verify_klass_ptr(temp1_recv_klass);
        }
        BLOCK_COMMENT("check_receiver {");
        // The receiver for the MemberName must be in receiver_reg.
        // Check the receiver against the MemberName.clazz
--- 362,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
!         __ load_klass(temp1_recv_klass, receiver_reg, temp2, true);
          __ verify_klass_ptr(temp1_recv_klass);
        }
        BLOCK_COMMENT("check_receiver {");
        // The receiver for the MemberName must be in receiver_reg.
        // Check the receiver against the MemberName.clazz
< prev index next >