@@ -878,8 +878,7 @@ void InterpreterMacroAssembler::remove_activation(TosState state,
878878//
879879void InterpreterMacroAssembler::lock_object (Register monitor, Register object) {
880880 if (UseHeavyMonitors) {
881- call_VM (noreg, CAST_FROM_FN_PTR (address, InterpreterRuntime::monitorenter),
882- monitor, /* check_for_exceptions=*/ true );
881+ call_VM (noreg, CAST_FROM_FN_PTR (address, InterpreterRuntime::monitorenter), monitor);
883882 } else {
884883 // template code:
885884 //
@@ -980,8 +979,7 @@ void InterpreterMacroAssembler::lock_object(Register monitor, Register object) {
980979 // None of the above fast optimizations worked so we have to get into the
981980 // slow case of monitor enter.
982981 bind (slow_case);
983- call_VM (noreg, CAST_FROM_FN_PTR (address, InterpreterRuntime::monitorenter),
984- monitor, /* check_for_exceptions=*/ true );
982+ call_VM (noreg, CAST_FROM_FN_PTR (address, InterpreterRuntime::monitorenter), monitor);
985983 // }
986984 align (32 , 12 );
987985 bind (done);
@@ -995,7 +993,7 @@ void InterpreterMacroAssembler::lock_object(Register monitor, Register object) {
995993// which must be initialized with the object to lock.
996994//
997995// Throw IllegalMonitorException if object is not locked by current thread.
998- void InterpreterMacroAssembler::unlock_object (Register monitor, bool check_for_exceptions ) {
996+ void InterpreterMacroAssembler::unlock_object (Register monitor) {
999997 if (UseHeavyMonitors) {
1000998 call_VM_leaf (CAST_FROM_FN_PTR (address, InterpreterRuntime::monitorexit), monitor);
1001999 } else {
@@ -2401,8 +2399,7 @@ void InterpreterMacroAssembler::notify_method_entry() {
24012399 lwz (R0, in_bytes (JavaThread::interp_only_mode_offset ()), R16_thread);
24022400 cmpwi (CCR0, R0, 0 );
24032401 beq (CCR0, jvmti_post_done);
2404- call_VM (noreg, CAST_FROM_FN_PTR (address, InterpreterRuntime::post_method_entry),
2405- /* check_exceptions=*/ true );
2402+ call_VM (noreg, CAST_FROM_FN_PTR (address, InterpreterRuntime::post_method_entry));
24062403
24072404 bind (jvmti_post_done);
24082405 }
@@ -2437,8 +2434,7 @@ void InterpreterMacroAssembler::notify_method_exit(bool is_native_method, TosSta
24372434 cmpwi (CCR0, R0, 0 );
24382435 beq (CCR0, jvmti_post_done);
24392436 if (!is_native_method) { push (state); } // Expose tos to GC.
2440- call_VM (noreg, CAST_FROM_FN_PTR (address, InterpreterRuntime::post_method_exit),
2441- /* check_exceptions=*/ check_exceptions);
2437+ call_VM (noreg, CAST_FROM_FN_PTR (address, InterpreterRuntime::post_method_exit), check_exceptions);
24422438 if (!is_native_method) { pop (state); }
24432439
24442440 align (32 , 12 );
0 commit comments