RFR: 8337789: JEP 509: JFR CPU-Time Profiling (Experimental) [v47]

Johannes Bechberger jbechberger at openjdk.org
Thu May 15 13:21:04 UTC 2025


On Mon, 12 May 2025 18:06:37 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:

>> Johannes Bechberger has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Simplify local trace stack
>
> src/hotspot/share/jfr/periodic/sampling/jfrCPUTimeThreadSampler.cpp line 887:
> 
>> 885:   sev.sigev_signo = SIG;
>> 886:   sev.sigev_value.sival_ptr = &t;
>> 887:   ((int*)&sev.sigev_notify)[1] = thread->osthread()->thread_id();
> 
> Is there a reason why not use `sev._sigev_un._tid` directly if this is Linux only?

Good catch.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20752#discussion_r2091155987


More information about the hotspot-dev mailing list