RFR: 8326838: JFR: Native mirror events

Erik Gahlin egahlin at openjdk.org
Wed Feb 28 19:56:00 UTC 2024


Hi,

Could I have a review of a change that provides infrastructure for emitting JDK events with metadata defined in native, such structs, enum constants.and references to native artefacts. If an event in the JDK has the same name as an event defined in metadata.xml, the metadata for the native event is used.

I also fixed an incorrect exception message in the TypeLibrary class.

Testing: jdk/jdk/jfr  and manual validatation that native metadata is picked by a JDK event.

Thanks
Erik

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

Commit messages:
 - Initial

Changes: https://git.openjdk.org/jdk/pull/18051/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18051&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8326838
  Stats: 53 lines in 4 files changed: 42 ins; 0 del; 11 mod
  Patch: https://git.openjdk.org/jdk/pull/18051.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18051/head:pull/18051

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


More information about the hotspot-jfr-dev mailing list