RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v42]
Markus Grönlund
mgronlun at openjdk.org
Tue Jun 3 22:04:27 UTC 2025
On Tue, 3 Jun 2025 14:09:29 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:
>
> Rename autoadapt
src/hotspot/share/jfr/support/jfrThreadLocal.cpp line 143:
> 141: JavaThread *const jt = JavaThread::cast(t);
> 142: send_java_thread_start_event(jt);
> 143: JfrCPUTimeThreadSampling::on_javathread_create(jt);
Move before send_java_thread...to have that captured by the timer?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2125004892
More information about the hotspot-dev
mailing list