hotspot/src/os/windows/vm/os_windows.cpp
changeset 18945 1225c36dacd3
parent 18943 7d0ef675e808
parent 18741 12bb27daf3eb
child 19274 a09ed3dff789
--- a/hotspot/src/os/windows/vm/os_windows.cpp	Wed Jul 17 13:48:15 2013 +0200
+++ b/hotspot/src/os/windows/vm/os_windows.cpp	Thu Jul 18 12:35:55 2013 -0700
@@ -2323,6 +2323,11 @@
 #endif
   Thread* t = ThreadLocalStorage::get_thread_slow();          // slow & steady
 
+  // Handle SafeFetch32 and SafeFetchN exceptions.
+  if (StubRoutines::is_safefetch_fault(pc)) {
+    return Handle_Exception(exceptionInfo, StubRoutines::continuation_for_safefetch_fault(pc));
+  }
+
 #ifndef _WIN64
   // Execution protection violation - win32 running on AMD64 only
   // Handled first to avoid misdiagnosis as a "normal" access violation;