Skip to content

Commit 90a30e4

Browse files
committed
Use SEH on Windows x64 only
Compilation fails on Windows AArch64
1 parent 2b81fbb commit 90a30e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/hotspot/gtest/runtime/test_os_windows.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,7 @@ TEST_VM(os_windows, reserve_memory_special_concurrent) {
843843
testRunner.run();
844844
}
845845

846+
#ifndef _M_ARM64
846847
// Test that the topLevelExceptionFilter correctly handles guard page exceptions.
847848
// This test allocates memory with PAGE_GUARD protection and accesses it to trigger
848849
// a EXCEPTION_GUARD_PAGE exception, which should be handled by the exception filter.
@@ -930,6 +931,7 @@ TEST_VM(os_windows, guard_page_one_shot_semantics_try_catch) {
930931
// Clean up
931932
VirtualFree(mem, 0, MEM_RELEASE);
932933
}
934+
#endif // _M_ARM64
933935

934936
// Test that the topLevelExceptionFilter correctly handles guard page exceptions.
935937
// This test allocates memory with PAGE_GUARD protection and accesses it to trigger

0 commit comments

Comments
 (0)