< prev index next > src/hotspot/cpu/riscv/interp_masm_riscv.cpp
Print this page
}
bind(slow_case);
// Call the runtime routine for slow case
! if (LockingMode == LM_LIGHTWEIGHT) {
! call_VM(noreg,
! CAST_FROM_FN_PTR(address, InterpreterRuntime::monitorenter_obj),
- obj_reg);
- } else {
- call_VM(noreg,
- CAST_FROM_FN_PTR(address, InterpreterRuntime::monitorenter),
- lock_reg);
- }
j(done);
bind(count);
increment(Address(xthread, JavaThread::held_monitor_count_offset()));
}
bind(slow_case);
// Call the runtime routine for slow case
! call_VM(noreg,
! CAST_FROM_FN_PTR(address, InterpreterRuntime::monitorenter),
! lock_reg);
j(done);
bind(count);
increment(Address(xthread, JavaThread::held_monitor_count_offset()));
< prev index next >