RFR: 7992: Add API to easily write annotated Java JFR events [v4]
duke
duke at openjdk.org
Mon Jul 15 08:31:59 UTC 2024
On Wed, 10 Jul 2024 20:26:34 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:
>> This PR extends the JFR Writer API with the ability to use the custom JFR event types (eg. classes extending `jdk.jfr.Event`) and register new writer type for them and also directly accept the instances of those types to write them in the recording.
>
> Jaroslav Bachorik has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains ten additional commits since the last revision:
>
> - Replace commented out println with logger
> - Merge remote-tracking branch 'upstream/master' into jb/JMC-7992
> - Add unit tests for using custom events directly in the writer API
> - Improve handling of the overriden internal fields
> - Merge branch 'master' into jb/JMC-7992
> - Add more explanatory comments
> - Add javadoc for the new public methods
> - Update copyright year
> - JMC-7992: Add API to easily write annotated Java JFR events
@jbachorik
Your change (at version 8b50e795a16b19db64ddf3eaa6b3ed1983e484cc) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jmc/pull/457#issuecomment-2227958681
More information about the jmc-dev
mailing list