Would anyone be opposed to a new option to redirect hs-err files to stderr/out?
thomas.stuefe at gmail.com
Mon Mar 18 13:43:23 UTC 2019
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.
More information about the hotspot-runtime-dev