< prev index next > src/hotspot/cpu/ppc/c1_MacroAssembler_ppc.cpp
Print this page
std(R0/*==0, perhaps*/, BasicLock::displaced_header_offset_in_bytes(), Rbox);
bne(CCR0, slow_int);
}
bind(done);
! inc_held_monitor_count(Rmark /*tmp*/);
}
void C1_MacroAssembler::unlock_object(Register Rmark, Register Roop, Register Rbox, Label& slow_case) {
assert_different_registers(Rmark, Roop, Rbox);
std(R0/*==0, perhaps*/, BasicLock::displaced_header_offset_in_bytes(), Rbox);
bne(CCR0, slow_int);
}
bind(done);
! if (LockingMode == LM_LEGACY) {
+ inc_held_monitor_count(Rmark /*tmp*/);
+ }
}
void C1_MacroAssembler::unlock_object(Register Rmark, Register Roop, Register Rbox, Label& slow_case) {
assert_different_registers(Rmark, Roop, Rbox);
bind(slow_int);
b(slow_case); // far
// Done
bind(done);
! dec_held_monitor_count(Rmark /*tmp*/);
}
void C1_MacroAssembler::try_allocate(
Register obj, // result: pointer to object after successful allocation
bind(slow_int);
b(slow_case); // far
// Done
bind(done);
! if (LockingMode == LM_LEGACY) {
+ dec_held_monitor_count(Rmark /*tmp*/);
+ }
}
void C1_MacroAssembler::try_allocate(
Register obj, // result: pointer to object after successful allocation
< prev index next >