RFR: 8233706: JFR emergency dump should be performed after error reporting

Yasumasa Suenaga suenaga at oss.nttdata.com
Sun Feb 2 16:31:46 UTC 2020


Hi all,

Please review this change.

   JBS: https://bugs.openjdk.java.net/browse/JDK-8233706
   webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8233706/webrev.00/

Error reporting (hs_err log) should happen as close as possible to the error point.
However JFR emergency dump would be performed before it.

JFR emergency dump should be performed after error reporting (e.g. NMT reporting, CI Replay)

This webrev separates opening FD like minidump for Windows and writing flight record.
Also create_emergency_dump_path() is no longer dependent on ResourceMark.


Thanks,

Yasumasa


More information about the hotspot-jfr-dev mailing list