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

Johannes Bechberger jbechberger at openjdk.org
Wed Jun 4 14:21:07 UTC 2025


On Wed, 4 Jun 2025 13:51:31 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:
>> 
>>   Fix build
>
> src/hotspot/share/jfr/periodic/sampling/jfrCPUTimeThreadSampler.cpp line 59:
> 
>> 57:   Thread* raw_thread = Thread::current_or_null_safe();
>> 58:   if (raw_thread == nullptr) {
>> 59:     // probably while shutting down
> 
> Do you remember which test fail because of this? It would be interesting to know, since I don’t see how it could be null here.

I just ran the renaissance benchmark with https://github.com/parttimenerd/basic-profiler-tests for a few hours.

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

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


More information about the serviceability-dev mailing list