< prev index next >
src/cpu/ppc/vm/sharedRuntime_ppc.cpp
Print this page
rev 8531 : 8129757: ppc/aarch: Fix passing thread to runtime after "8073165: Contended Locking fast exit bucket."
Reviewed-by: enevill
@@ -2473,11 +2473,12 @@
__ li(R0, 0);
__ std(R0, thread_(pending_exception));
// Slow case of monitor enter.
// Inline a special case of call_VM that disallows any pending_exception.
- __ call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::complete_monitor_unlocking_C), r_oop, r_box);
+ // Arguments are (oop obj, BasicLock* lock, JavaThread* thread).
+ __ call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::complete_monitor_unlocking_C), r_oop, r_box, R16_thread);
__ asm_assert_mem8_is_zero(thread_(pending_exception),
"no pending exception allowed on exit from SharedRuntime::complete_monitor_unlocking_C", 0);
restore_native_result(masm, ret_type, workspace_slot_offset);
< prev index next >