RFR: 8365400: enhance JFR to emit file and module metadata for class loading [v2]

Larry Cable duke at openjdk.org
Thu Oct 16 19:41:15 UTC 2025


> the existing` jdk.classDefine` and `jdk.ClassLoad` events do not include metadata regarding the location/source of the ClassFile.
> 
> The location of the class file for a class defined can be of utility in both debugging and auditing.
> 
> this addition introduces a new `jdk.ClassFileDefine` event which records the class defined and the location (path/url) of the class file that contained the implementation thereof

Larry Cable has updated the pull request incrementally with one additional commit since the last revision:

  added package and module entries

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27738/files
  - new: https://git.openjdk.org/jdk/pull/27738/files/09ce2472..67141ee8

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

  Stats: 10 lines in 2 files changed: 9 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/27738.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27738/head:pull/27738

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


More information about the hotspot-jfr-dev mailing list