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

hs_err should report the location of JFR files

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 15
    • 14
    • hotspot
    • jfr

      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
      ```

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

              Created:
              Updated:
              Resolved: