Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8220786

Create new switch to redirect error reporting output to stdout or stderr

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b15

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: