RFR: 8371014: Dump JFR recording on CrashOnOutOfMemoryError is incorrectly implemented

Yasumasa Suenaga ysuenaga at openjdk.org
Thu Jan 8 01:38:00 UTC 2026


On Wed, 7 Jan 2026 14:20:34 GMT, Markus Grönlund <mgronlun 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.
>
> Alternative implementation suggestion PR (in draft state) https://github.com/openjdk/jdk/pull/29094
> 
> Includes also a solution to [JDK-8373257](https://bugs.openjdk.org/browse/JDK-8373257)
> @tstuefe
>  
> Please take a look, and also if you can, submit for testing on your platforms.
> 
> Markus

Thanks a lot @mgronlun !
I think JDK-8371014 (and JDK-8373257) should be tackled in #29094 . So should I close this PR?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28563#issuecomment-3721527637


More information about the hotspot-dev mailing list