RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v26]
Johannes Bechberger
jbechberger at openjdk.org
Mon Jun 2 08:53:02 UTC 2025
On Mon, 2 Jun 2025 08:44:01 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> src/hotspot/share/jfr/periodic/sampling/jfrCPUTimeThreadSampler.cpp line 367:
>>
>>> 365: JfrCPUTimeSampleRequest& request = queue.at(i);
>>> 366: JfrStackTrace stacktrace;
>>> 367: traceid tid = JfrThreadLocal::thread_id(thread);
>>
>> Check the tid as a function of the JfrSampleRequest, like we do in JFR Cooperative Sampling.
>
> You mean ` const traceid tid = in_continuation ? tl->vthread_id_with_epoch_update(jt) : JfrThreadLocal::jvm_thread_id(jt);`?
I implemented this in this function now.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2120473792
More information about the hotspot-dev
mailing list