RFR: 7992: Add API to easily write annotated Java JFR events [v3]

Jaroslav Bachorik jbachorik at openjdk.org
Thu Mar 14 11:06:15 UTC 2024


> 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 five additional commits since the last revision:

 - 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

-------------

Changes:
  - all: https://git.openjdk.org/jmc/pull/457/files
  - new: https://git.openjdk.org/jmc/pull/457/files/e4e6c7cf..5bd8c044

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jmc&pr=457&range=02
 - incr: https://webrevs.openjdk.org/?repo=jmc&pr=457&range=01-02

  Stats: 495 lines in 49 files changed: 459 ins; 15 del; 21 mod
  Patch: https://git.openjdk.org/jmc/pull/457.diff
  Fetch: git fetch https://git.openjdk.org/jmc.git pull/457/head:pull/457

PR: https://git.openjdk.org/jmc/pull/457


More information about the jmc-dev mailing list