RFR(XXS): 8224793: os::die() does not honor CreateCoredumpOnCrash option

Daniel D. Daugherty daniel.daugherty at oracle.com
Tue May 28 23:37:09 UTC 2019


Resending with the bug's JBS link included...

Greetings,

While working on another bug (JDK-8188872), I happened to notice that
the test was generating core files even though the test is run with
the '-XX:+CreateCoredumpOnCrash' option.

After investigating, I discovered that the os::die() function does not
honor the CreateCoredumpOnCrash option which was a surprise to me.

Webrev URL: 
http://cr.openjdk.java.net/~dcubed/8224793-webrev/0-for-jdk-jdk13/

Bug: JDK-8224793 os::die() does not honor CreateCoredumpOnCrash option
      https://bugs.openjdk.java.net/browse/JDK-8224793

Testing: Mach5 Tier[1-5]
          Included the fix in my latest round of 8153224 testing
          on Solaris-X64 where this bug reproduces quite a bit.

Thanks, in advance, for any comments, suggestions, or questions.

Dan




More information about the hotspot-runtime-dev mailing list