RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v15]

Johannes Bechberger jbechberger at openjdk.org
Mon May 26 19:32:18 UTC 2025


> This is the code for the [JEP 509: CPU Time based profiling for JFR](https://openjdk.org/jeps/509).
> 
> Currently tested using [this test suite](https://github.com/parttimenerd/basic-profiler-tests). This runs profiles the [Renaissance](https://renaissance.dev/) benchmark with
> - ... different heap sizes
> - ... different GCs
> - ... different samplers (the standard JFR and the new CPU Time Sampler and both)
> - ... different JFR recording durations
> - ... different chunk-sizes

Johannes Bechberger has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 83 commits:

 - Merge branch 'master' of https://git.openjdk.org/jdk into parttimenerd_cooperative_cpu_time_sampler
 - Fix other platforms
 - Improve one warning
 - Fix MacOS build
 - Fix default.jfc and profile.jfc
 - Don't mention throttling
 - Improve throttle hot path
 - Move timer_t onto the heap
 - Improve queue walking in native
 - Rename and remove end_time
 - ... and 73 more: https://git.openjdk.org/jdk/compare/bbceab07...57da22e0

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

Changes: https://git.openjdk.org/jdk/pull/25302/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25302&range=14
  Stats: 2353 lines in 45 files changed: 2207 ins; 129 del; 17 mod
  Patch: https://git.openjdk.org/jdk/pull/25302.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25302/head:pull/25302

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


More information about the hotspot-jfr-dev mailing list