hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp
changeset 41341 9358c2e16446
parent 40010 e32d5e545789
child 42874 973960866fa4
--- a/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp	Wed Sep 28 11:58:56 2016 +0530
+++ b/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp	Tue Sep 27 15:45:44 2016 +0200
@@ -2489,6 +2489,11 @@
     __ verify_oop(R3_RET);
   }
 
+  if (CheckJNICalls) {
+    // clear_pending_jni_exception_check
+    __ load_const_optimized(R0, 0L);
+    __ st_ptr(R0, JavaThread::pending_jni_exception_check_fn_offset(), R16_thread);
+  }
 
   // Reset handle block.
   // --------------------------------------------------------------------------