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.
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.
- links to
-
Commit(master) openjdk/jdk/b263292a
-
Review(master) openjdk/jdk/24371