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

JFR: Avoid unnecessary calls to Events.from(Recording)

    XMLWordPrintable

Details

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

    Description

      JFR tests call Event.from(recording) to get the events from recording.

      Problem is that each call to Events.from(recording) dumps a recording file, inducing a JVM safepoint and executes parsing of the file. A better approach is to store the event in a List instead of calling it twice, or more.

      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: