We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e7ea39 commit 1b8dea4Copy full SHA for 1b8dea4
src/hotspot/share/utilities/vmError.cpp
@@ -2082,8 +2082,13 @@ bool VMError::check_timeout() {
2082
#ifdef ASSERT
2083
typedef void (*voidfun_t)();
2084
2085
-// Crash with an authentic sigfpe
+// Crash with an authentic sigfpe; behavior is subtly different from a real signal
2086
+// compared to one generated with raise (asynchronous vs synchronous). See JDK-8065895.
2087
volatile int sigfpe_int = 0;
2088
+
2089
+#if defined(__clang__) || defined(__GNUC__)
2090
+__attribute__((no_sanitize("undefined")))
2091
+#endif
2092
static void ALWAYSINLINE crash_with_sigfpe() {
2093
2094
// generate a native synchronous SIGFPE where possible;
0 commit comments