< prev index next > src/hotspot/cpu/s390/interp_masm_s390.cpp
Print this page
// 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) {
- // for lightweight locking we need to use monitorenter_obj, see interpreterRuntime.cpp
- 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);
// }
bind(done);
}
< prev index next >