JFR: Turn off events for JFR.view

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 22
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • jfr
    • b27

      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.

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

              Created:
              Updated:
              Resolved: