RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v35]
Markus Grönlund
mgronlun at openjdk.org
Tue Jun 3 12:19:06 UTC 2025
On Tue, 3 Jun 2025 12:12:53 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> 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 incrementally with two additional commits since the last revision:
>
> - Fix include order
> - Tiny refactoring
src/hotspot/share/jfr/periodic/sampling/jfrCPUTimeThreadSampler.cpp line 67:
> 65: }
> 66:
> 67: if (is_excluded(jt)) {
I think move this before the jt->is_exiting() check - excluded is much much more common than exiting...
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2123633391
More information about the hotspot-dev
mailing list