8229925: [s390, PPC64] Exception check missing in interpreter
Reviewed-by: dholmes, rrich
--- a/src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp Thu Aug 22 14:36:10 2019 +0100
+++ b/src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp Thu Aug 22 15:52:03 2019 +0200
@@ -2265,7 +2265,7 @@
cmpdi(CCR0, Rcounters, 0);
bne(CCR0, has_counters);
call_VM(noreg, CAST_FROM_FN_PTR(address,
- InterpreterRuntime::build_method_counters), method, false);
+ InterpreterRuntime::build_method_counters), method);
ld(Rcounters, in_bytes(Method::method_counters_offset()), method);
cmpdi(CCR0, Rcounters, 0);
beq(CCR0, skip); // No MethodCounters, OutOfMemory.
--- a/src/hotspot/cpu/s390/interp_masm_s390.cpp Thu Aug 22 14:36:10 2019 +0100
+++ b/src/hotspot/cpu/s390/interp_masm_s390.cpp Thu Aug 22 15:52:03 2019 +0200
@@ -1914,7 +1914,7 @@
load_and_test_long(Rcounters, Address(Rmethod, Method::method_counters_offset()));
z_brnz(has_counters);
- call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::build_method_counters), Rmethod, false);
+ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::build_method_counters), Rmethod);
z_ltgr(Rcounters, Z_RET); // Runtime call returns MethodCounters object.
z_brz(skip); // No MethodCounters, out of memory.