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

JFR: Simplify EventConfiguration

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 25
    • 25
    • hotspot
    • None
    • jfr
    • b18

      Each Java event class has an event configuration object that contains information needed when writing the event to the thread-local buffers, for example, if the event is enabled.

      Now that the Security Manager is no longer used in JFR, we can use a public constructor and a record class. It avoids reflection and could reduce the overhead marginally, since records have truly final fields.

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

              Created:
              Updated:
              Resolved: