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

Erik Gahlin egahlin at openjdk.org
Mon Aug 25 15:15:00 UTC 2025


On Wed, 20 Aug 2025 20:39:55 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: d24449f6
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d24449f696c86bca53cca8a77cc3c4eb58a73ced
Stats:     29 lines in 2 files changed: 25 ins; 0 del; 4 mod

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

Reviewed-by: mgronlun

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

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


More information about the hotspot-jfr-dev mailing list