RFR: 8371014: Dump JFR recording on CrashOnOutOfMemoryError is incorrectly implemented
Markus Grönlund
mgronlun at openjdk.org
Thu Jan 8 12:24:06 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?
Yes, I think we should do it in https://github.com/openjdk/jdk/pull/29094. You can close this one, and I will officially publish https://github.com/openjdk/jdk/pull/29094.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28563#issuecomment-3723622934
More information about the hotspot-dev
mailing list