RFR: 8347833: CrashOnOutOfMemory should stop GC threads before HeapDumpOnOutOfMemoryError

Fairoz Matte fmatte at openjdk.org
Thu Feb 13 18:08:44 UTC 2025


On Fri, 7 Feb 2025 18:07:32 GMT, Fairoz Matte <fmatte at openjdk.org> wrote:

> When CrashOnOutOfMemory  and HeapDumpOnOutOfMemoryError invoked together, we should make sure, it is performed in a single safepoint, this will avoid allowing other threads to run and throw OOM errors after the initial one is already under error logging.

I am still working on fixing the test case. Will get back on this once it is done.

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

PR Comment: https://git.openjdk.org/jdk/pull/23519#issuecomment-2657368070


More information about the hotspot-dev mailing list