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

Johannes Bechberger jbechberger at openjdk.org
Wed May 28 15:27:29 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 89 commits:

 - Merge branch 'master' into parttimenerd_cooperative_cpu_time_sampler
 - Fix builds on non Linux platforms
 - Tiny fixes
 - Tiny fixes
 - Remove assertion
 - Remove mistake
 - Merge branch 'master' of https://git.openjdk.org/jdk into parttimenerd_cooperative_cpu_time_sampler
 - Fix other platforms
 - Improve one warning
 - Fix MacOS build
 - ... and 79 more: https://git.openjdk.org/jdk/compare/e3f85c96...14f1d068

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

Changes: https://git.openjdk.org/jdk/pull/25302/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25302&range=20
  Stats: 2339 lines in 45 files changed: 2164 ins; 159 del; 16 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