< prev index next >

src/hotspot/cpu/x86/stubGenerator_x86_64.cpp

Print this page

        

*** 1112,1122 **** __ testptr(rax, rax); __ jcc(Assembler::zero, exit); // if obj is NULL it is OK if (UseLoadBarrier) { // Check if metadata bits indicate a bad oop ! __ testptr(rax, ExternalAddress((address)&ZAddressBadMask)); __ jcc(Assembler::notZero, error); } // Check if the oop is in the right area of memory __ movptr(c_rarg2, rax); --- 1112,1122 ---- __ testptr(rax, rax); __ jcc(Assembler::zero, exit); // if obj is NULL it is OK if (UseLoadBarrier) { // Check if metadata bits indicate a bad oop ! __ testptr(rax, Address(r15_thread, JavaThread::zaddress_bad_mask_offset())); __ jcc(Assembler::notZero, error); } // Check if the oop is in the right area of memory __ movptr(c_rarg2, rax);
< prev index next >