8229925: [s390, PPC64] Exception check missing in interpreter
authormdoerr
Thu, 22 Aug 2019 15:52:03 +0200
changeset 57839 de0ccdc4db13
parent 57838 78844dceede6
child 57841 0094711309c3
8229925: [s390, PPC64] Exception check missing in interpreter Reviewed-by: dholmes, rrich
src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp
src/hotspot/cpu/s390/interp_masm_s390.cpp
--- 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.