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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      Original issue: https://bugs.openjdk.java.net/browse/JDK-8220786
      Original CSR: https://bugs.openjdk.java.net/browse/JDK-8220787

      jdk11 backport: https://bugs.openjdk.java.net/browse/JDK-8238531
      jdk11 CSR: https://bugs.openjdk.java.net/browse/JDK-8238532

      webrev: http://cr.openjdk.java.net/~simonis/webrevs/2021/8220786-jdk8u/

      JDK-8220786 has already been downported to 11u. But jdk8u is still used a lot and increasingly in containerized environments where the file system is ephemeral. If the JVM crashes in such an environment it is impossible to do any post mortem analysis of the problem.
      In such situations the ability to dump the hs_err file to stdout/stderr is very useful, because many container environments log the stdout/stderr stream of the container by default.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simonis Volker Simonis
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: