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

Markus Grönlund mgronlun at openjdk.org
Tue Jan 13 18:06:39 UTC 2026


On Thu, 8 Jan 2026 01:32:44 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

>>> TestEmergencyDumpAtOOM.java has passed on both, AIX and linux on PPC64. Thanks!
>> 
>> Thanks Martin.
>
> Thanks a lot @mgronlun ! Looks good in general.
> 
> Can we wait to finish `service.emit_leakprofiler_events()` in JFR recorder thread before the crash at `report_java_out_of_memory()` in debug.cpp? whether `abort()` is called before finishing to dump events by recorder thread.

Thanks for your review @YaSuenag.

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

PR Comment: https://git.openjdk.org/jdk/pull/29094#issuecomment-3745680784


More information about the hotspot-dev mailing list