JFR: Simplify EventConfiguration

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 25
    • Affects Version/s: 25
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: