< prev index next >

src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp

Print this page
@@ -1041,15 +1041,11 @@
      //   InterpreterRuntime::monitorenter(THREAD, monitor);
  
      // None of the above fast optimizations worked so we have to get into the
      // slow case of monitor enter.
      bind(slow_case);
-     if (LockingMode == LM_LIGHTWEIGHT) {
-       call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::monitorenter_obj), object);
-     } else {
-       call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::monitorenter), monitor);
-     }
+     call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::monitorenter), monitor);
      b(done);
      // }
      align(32, 12);
      bind(count_locking);
      inc_held_monitor_count(current_header /*tmp*/);
< prev index next >