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

Erik Gahlin egahlin at openjdk.org
Thu Aug 21 05:21:23 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

Erik Gahlin has updated the pull request incrementally with one additional commit since the last revision:

  Add view output

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26869/files
  - new: https://git.openjdk.org/jdk/pull/26869/files/604b86de..9d54c0e5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26869&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26869&range=00-01

  Stats: 17 lines in 1 file changed: 13 ins; 1 del; 3 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