Skip to content

Commit cf05d75

Browse files
committed
8229925: [s390, PPC64] Exception check missing in interpreter
Reviewed-by: dholmes, rrich
1 parent e3b6b7f commit cf05d75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2265,7 +2265,7 @@ void InterpreterMacroAssembler::get_method_counters(Register method,
22652265
cmpdi(CCR0, Rcounters, 0);
22662266
bne(CCR0, has_counters);
22672267
call_VM(noreg, CAST_FROM_FN_PTR(address,
2268-
InterpreterRuntime::build_method_counters), method, false);
2268+
InterpreterRuntime::build_method_counters), method);
22692269
ld(Rcounters, in_bytes(Method::method_counters_offset()), method);
22702270
cmpdi(CCR0, Rcounters, 0);
22712271
beq(CCR0, skip); // No MethodCounters, OutOfMemory.

src/hotspot/cpu/s390/interp_masm_s390.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ void InterpreterMacroAssembler::get_method_counters(Register Rmethod,
19141914
load_and_test_long(Rcounters, Address(Rmethod, Method::method_counters_offset()));
19151915
z_brnz(has_counters);
19161916

1917-
call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::build_method_counters), Rmethod, false);
1917+
call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::build_method_counters), Rmethod);
19181918
z_ltgr(Rcounters, Z_RET); // Runtime call returns MethodCounters object.
19191919
z_brz(skip); // No MethodCounters, out of memory.
19201920

0 commit comments

Comments
 (0)