Would anyone be opposed to a new option to redirect hs-err files to stderr/out?

Thomas Stüfe thomas.stuefe at gmail.com
Mon Mar 18 13:43:23 UTC 2019


Hi all,

short question. We sometimes run in environments where post-mortem files
are not kept, e.g. in a CloudFoundry container. All we have there is
stdout/stderr, if logging is configured correctly, but file systems are
lost when the container ends.

We have the -XX:ErrorFile option to overwrite the default path and file
name for the hs-err file. I would like to add the option of specifiying a
special value which would mean "stdout" or "stderr", respectivly.

E.g. -XX:ErrorFile=STDERR or -XX:ErrorFile=STDOUT .

Any objections? If not, I would draft a CSR and implement this.

Thanks, Thomas


More information about the hotspot-runtime-dev mailing list