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

Markus Grönlund mgronlun at openjdk.org
Tue May 27 11:39:02 UTC 2025


On Mon, 26 May 2025 20:57:15 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 one additional commit since the last revision:
> 
>   Remove assertion

src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformEventType.java line 195:

> 193: 
> 194:     public boolean hasThreshold() {
> 195:         if (hasCutoff || isCPUTimeMethodSampling) {

This is not a duration event anymore, right?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2108950974


More information about the hotspot-jfr-dev mailing list