RFR: 8371014: Dump JFR recording on CrashOnOutOfMemoryError is incorrectly implemented
Martin Doerr
mdoerr at openjdk.org
Mon Jan 5 10:41:16 UTC 2026
On Sat, 29 Nov 2025 06:06:16 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:
> The jtreg test TestEmergencyDumpAtOOM.java runs into the following error on ppc64 platforms.
>
> JFR emergency dump would be kicked at `VMError::report_and_die()`, then Java thread for JFR would not work due to secondary signal handler for error reporting.
>
> Passed all of jdk_jfr tests on Linux AMD64.
Would it be a better solution to avoid replacing the signal handler? We could keep the Java compatible handler and change it such that it calls `crash_handler` only for the thread which is reporting the error.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28563#issuecomment-3709875107
More information about the hotspot-dev
mailing list