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

JFR: Turn off events for JFR.view

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 22
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: