< prev index next >

src/hotspot/cpu/riscv/interp_masm_riscv.cpp

Print this page
*** 790,19 ***
      }
  
      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()));
  
--- 790,13 ---
      }
  
      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 >