Lines Matching defs:Rmark

3510 void MacroAssembler::compiler_lock_object(Register Roop, Register Rmark,
3520 inc_counter((address) counters->total_entry_count_addr(), Rmark, Rscratch);
3533 ld_ptr(mark_addr, Rmark);
3536 biased_locking_enter(Roop, Rmark, Rscratch, done, NULL, counters);
3542 // set Rmark to markOop | markOopDesc::unlocked_value
3543 or3(Rmark, markOopDesc::unlocked_value, Rmark);
3546 st_ptr(Rmark, Rbox, BasicLock::displaced_header_offset_in_bytes());
3548 // compare object markOop with Rmark and if equal exchange Rscratch with object markOop
3550 casx_under_lock(mark_addr.base(), Rmark, Rscratch,
3555 cmp(Rmark, Rscratch);
3576 ld_ptr(mark_addr, Rmark); // fetch obj->mark
3579 biased_locking_enter(Roop, Rmark, Rscratch, done, NULL, counters);
3581 // then Rmark has not been modified.
3587 st_ptr(Rmark, Rbox, BasicLock::displaced_header_offset_in_bytes());
3588 andcc(Rmark, 2, G0);
3595 or3(Rmark, markOopDesc::unlocked_value, Rmark);
3597 casn(mark_addr.base(), Rmark, Rscratch);
3598 cmp(Rmark, Rscratch);
3617 ld_ptr(Rmark, ObjectMonitor::owner_offset_in_bytes() - 2, Rscratch);
3626 add(Rmark, ObjectMonitor::owner_offset_in_bytes()-2, Rmark);
3628 casn(Rmark, G0, Rscratch);
3639 ld_ptr(mark_addr, Rmark); // fetch obj->mark
3643 biased_locking_enter(Roop, Rmark, Rscratch, done, NULL, counters);
3645 // then Rmark has not been modified.
3647 andcc(Rmark, 2, G0);
3659 or3(Rmark, markOopDesc::unlocked_value, Rmark);
3661 casn(mark_addr.base(), Rmark, Rscratch);
3663 cmp(Rscratch, Rmark);
3665 delayed()->st_ptr(Rmark, Rbox, BasicLock::displaced_header_offset_in_bytes());
3667 cond_inc(Assembler::equal, (address) counters->fast_path_entry_count_addr(), Rmark, Rscratch);
3697 cond_inc(Assembler::equal, (address) counters->fast_path_entry_count_addr(), Rmark, Rscratch);
3710 ld_ptr(Rmark, ObjectMonitor::owner_offset_in_bytes() - 2, Rscratch);
3719 add(Rmark, ObjectMonitor::owner_offset_in_bytes()-2, Rmark);
3721 casn(Rmark, G0, Rscratch);
3733 void MacroAssembler::compiler_unlock_object(Register Roop, Register Rmark,
3751 ld_ptr(Rbox, BasicLock::displaced_header_offset_in_bytes(), Rmark);
3752 br_null_short(Rmark, Assembler::pt, done);
3757 casx_under_lock(mark_addr.base(), Rbox, Rmark,
3760 delayed()->cmp(Rbox, Rmark);
3776 ld_ptr(Roop, oopDesc::mark_offset_in_bytes(), Rmark);
3781 andcc(Rmark, 2, G0);
3794 ld_ptr(Rmark, ObjectMonitor::owner_offset_in_bytes() - 2, Rscratch);
3795 ld_ptr(Rmark, ObjectMonitor::recursions_offset_in_bytes() - 2, Rbox);
3800 ld_ptr(Rmark, ObjectMonitor::EntryList_offset_in_bytes() - 2, Rscratch);
3801 ld_ptr(Rmark, ObjectMonitor::cxq_offset_in_bytes() - 2, Rbox);
3808 delayed()->st_ptr(G0, Rmark, ObjectMonitor::owner_offset_in_bytes() - 2);
3811 st_ptr(G0, Rmark, ObjectMonitor::owner_offset_in_bytes() - 2);
3813 ld_ptr(Rmark, ObjectMonitor::succ_offset_in_bytes() - 2, Rscratch);
3817 add(Rmark, ObjectMonitor::owner_offset_in_bytes()-2, Rmark);
3819 casn(Rmark, G0, Rscratch);
3829 delayed()->st_ptr(G0, Rmark, ObjectMonitor::owner_offset_in_bytes() - 2);