< prev index next >

hotspot/src/cpu/sparc/vm/sharedRuntime_sparc.cpp

Print this page

        

@@ -2763,10 +2763,15 @@
       __ mov(G0, I0);
       __ bind(L);
       __ verify_oop(I0);
   }
 
+  if (CheckJNICalls) {
+    // clear_pending_jni_exception_check
+    __ st_ptr(G0, G2_thread, JavaThread::pending_jni_exception_check_fn_offset());
+  }
+
   if (!is_critical_native) {
     // reset handle block
     __ ld_ptr(G2_thread, in_bytes(JavaThread::active_handles_offset()), L5);
     __ st(G0, L5, JNIHandleBlock::top_offset_in_bytes());
 
< prev index next >