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

Markus Grönlund mgronlun at openjdk.org
Mon Jun 2 15:18:12 UTC 2025


On Mon, 2 Jun 2025 15:09:30 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

>> Or just create a `Jfr::drain_cpu_time_queue` method?
>
> Try to move the entire:
> 
> void JfrCPUTimeThreadSampler::stackwalk_thread_in_native(JavaThread* thread) {
> }
> 
> Into JfrThreadSampling.hpp / jfrThreadSampling.cpp - you can send your JfrCPUTimeThreadSampler events from there.

Of course, rename the routine to something appropriate.

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

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


More information about the hotspot-dev mailing list