-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 13
-
b15
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8238531 | 11.0.7 | Thomas Stuefe | P4 | Resolved | Fixed | b05 |
JDK-8268055 | openjdk8u312 | Volker Simonis | P4 | Resolved | Fixed | b01 |
In certain container environments the local file system is ephemeral - its content does not survive the death of the container. In those environments post-mortem analyzing crashes can be challenging. However, stdout and stderr of the VM process are usually catched in some sort of logging system.
A new switch is proposed, "-XX:ErrorFileRedirect", with two possible values, "stdout" or "stderr". If specified, it would print the error report to stdout or stderr instead of creating a hs-err file.
If specified in conjunction with -XX:ErrorFile, a warning should be printed about incompatible switches, and -XX:ErrorFile should be ignored.
A new switch is proposed, "-XX:ErrorFileRedirect", with two possible values, "stdout" or "stderr". If specified, it would print the error report to stdout or stderr instead of creating a hs-err file.
If specified in conjunction with -XX:ErrorFile, a warning should be printed about incompatible switches, and -XX:ErrorFile should be ignored.
- backported by
-
JDK-8238531 Create new switch to redirect error reporting output to stdout or stderr
- Resolved
-
JDK-8268055 Create new switch to redirect error reporting output to stdout or stderr
- Resolved
- csr for
-
JDK-8220787 Create new switch to redirect error reporting output to stdout or stderr
- Closed
- relates to
-
JDK-8214975 No hs-err file if fatal error is raised during dynamic initialization.
- Resolved
-
JDK-8237727 Mac: after we handle a crash, Apple's crash reporter is left with incorrect state
- Closed