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

hs_err should report the location of JFR files

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 14
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
      jfr

      Description

      Since JDK-8184193, JFR file in the JFR streaming repository would keep the most recent data.
      It is very useful for postmortem analysis. It would be helpful if hs_err log reports the location of JFR repository.

      This enhancement also includes reporting the JFR emergency dump path in hs_err file.

      Examples:

      * Show JFR repository path:
      ```
      # JFR files might be saved in the repository:
      # /tmp/2019_11_01_11_09_30_3529
      ```

      * Show emergency dump path
      ```
      # JFR data is saved as:
      # /home/ysuenaga/github/garakuta/NativeSEGV/hs_err_pid3807.jfr
      ```

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ysuenaga Yasumasa Suenaga
              Reporter:
              ysuenaga Yasumasa Suenaga
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: