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

JFR.dump does not work when filename is set

    Details

    • Subcomponent:
      jfr
    • Introduced In Version:
      11
    • Resolved In Build:
      b25

      Backports

        Description

        The user might not get flight record via JFR.dump.


        How to reproduce:

        * Target process
          Start with -XX:StartFlightRecording=filename=test.jfr

        * JFR.dump

          - Run with no argument
              It works correctly.

          - Run with `name=1`
              We can see the message "Dump failed. No data found in the specified interval." on the console, but the dump is completed to `test.jfr`.

          - Run with `name=1 filename=dump.jfr`
              It does not work.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  egahlin Erik Gahlin
                  Reporter:
                  ysuenaga Yasumasa Suenaga
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: