< prev index next >

hotspot/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp

Print this page

        

@@ -2039,10 +2039,15 @@
       __ ldr(r0, Address(r0, 0));
       __ bind(L);
       __ verify_oop(r0);
   }
 
+  if (CheckJNICalls) {
+    // clear_pending_jni_exception_check
+    __ str(zr, Address(rthread, JavaThread::pending_jni_exception_check_fn_offset());
+  }
+
   if (!is_critical_native) {
     // reset handle block
     __ ldr(r2, Address(rthread, JavaThread::active_handles_offset()));
     __ str(zr, Address(r2, JNIHandleBlock::top_offset_in_bytes()));
   }
< prev index next >