RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v4]
Johannes Bechberger
jbechberger at openjdk.org
Fri May 23 16:37:40 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 23 commits:
- Merge branch 'pr/24296' of https://git.openjdk.org/jdk into parttimenerd_cooperative_cpu_time_sampler
- Fix tests
- Remove unused WhiteBox method
- Read _active_signal_handlers atomically
- Check whether raw_thread is not null and is JavaThread is signal handler
- Tiny fixes
- Fix uninitialized variable
- Reduce diff
- Refactor
- Reduce diff
- ... and 13 more: https://git.openjdk.org/jdk/compare/1cf582a0...eaca165d
-------------
Changes: https://git.openjdk.org/jdk/pull/25302/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25302&range=03
Stats: 2342 lines in 46 files changed: 2191 ins; 130 del; 21 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