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

JFR: Turn off events for JFR.view

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 22
    • None
    • hotspot
    • None
    • jfr
    • b27

    Description

      Reproducer:

      Shell 1:
      $ java -XX:StartFlightRecording:exceptions=all -jar J2Demo.jar

      Shell 2:
      $ jcmd J2Demo.jar JFR.view JavaExceptionThrow

      Result is exceptions from the view command, for example ParseException. We should disable events for the Attach thread while DCmdView executes. The API for doing this already exists.

      Attachments

        Issue Links

          Activity

            People

              egahlin Erik Gahlin
              egahlin Erik Gahlin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: