RFR: 8365815: JFR: Update metadata.xml with 'jfr query' examples

Erik Gahlin egahlin at openjdk.org
Wed Aug 20 20:52:04 UTC 2025


Could I have a review of a PR that adds a couple of 'jfr query' examples to metadata.xml?

It turns out that the EventDuration event doesn't work because it has no fields. The fix is to remove the class-specific commit() method and constructor for events without fields.

Testing: test/jdk/jdk/jfr + tier1

Thanks
Erik

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

Commit messages:
 - Initial

Changes: https://git.openjdk.org/jdk/pull/26869/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26869&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365815
  Stats: 15 lines in 2 files changed: 13 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/26869.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26869/head:pull/26869

PR: https://git.openjdk.org/jdk/pull/26869


More information about the hotspot-jfr-dev mailing list