Integrated: 8266404: Fatal error report generated with -XX:+CrashOnOutOfMemoryError should not contain suggestion to submit a bug report

David Holmes dholmes at openjdk.java.net
Mon May 17 22:42:49 UTC 2021


On Thu, 13 May 2021 02:14:43 GMT, David Holmes <dholmes at openjdk.org> wrote:

> A simple fix to add a new VMErrorType (OOM_JAVA_HEAP_FATAL) to indicate we've requested a Java OOM error to be fatal. A new overload of report_fatal is provided to allow this to be passed through.
> 
> VMError has an existing notion of "should_report_bug" but that encompasses more than just printing the bug submission URL, so I added a new specific check for that.
> 
> Checked hs_err files before and after with the fix, from the CrashOnOutOfMemoryError test.
> 
> Tested tiers 1-3 for good measure.
> 
> Thanks,
> David

This pull request has now been integrated.

Changeset: cd1c17c0
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/cd1c17c0a6416a8d16cf2035f3e97dba95b6b8af
Stats:     16 lines in 4 files changed: 7 ins; 1 del; 8 mod

8266404: Fatal error report generated with -XX:+CrashOnOutOfMemoryError should not contain suggestion to submit a bug report

Reviewed-by: stuefe, kevinw, gziemski

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

PR: https://git.openjdk.java.net/jdk/pull/4006


More information about the hotspot-runtime-dev mailing list