We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f20f9 commit 758610cCopy full SHA for 758610c
1 file changed
src/hotspot/os/windows/safefetch_static_windows.cpp
@@ -46,8 +46,7 @@ extern "C" char _SafeFetchN_fault[];
46
47
bool handle_safefetch(int exception_code, address pc, void* context) {
48
CONTEXT* ctx = (CONTEXT*)context;
49
- if ((exception_code == EXCEPTION_ACCESS_VIOLATION ||
50
- exception_code == EXCEPTION_GUARD_PAGE) && ctx != nullptr) {
+ if (ctx != nullptr) {
51
if (pc == (address)_SafeFetch32_fault) {
52
os::win32::context_set_pc(ctx, (address)_SafeFetch32_continuation);
53
return true;
0 commit comments