8254190: [s390] interpreter misses exception check after calling monitorenter
Reviewed-by: shade, rrich
This commit is contained in:
parent
5351ba6cfa
commit
ced46b19f7
@ -969,8 +969,7 @@ void InterpreterMacroAssembler::remove_activation(TosState state,
|
||||
void InterpreterMacroAssembler::lock_object(Register monitor, Register object) {
|
||||
|
||||
if (UseHeavyMonitors) {
|
||||
call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::monitorenter),
|
||||
monitor, /*check_for_exceptions=*/false);
|
||||
call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::monitorenter), monitor);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1061,9 +1060,7 @@ void InterpreterMacroAssembler::lock_object(Register monitor, Register object) {
|
||||
// None of the above fast optimizations worked so we have to get into the
|
||||
// slow case of monitor enter.
|
||||
bind(slow_case);
|
||||
|
||||
call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::monitorenter),
|
||||
monitor, /*check_for_exceptions=*/false);
|
||||
call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::monitorenter), monitor);
|
||||
|
||||
// }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user