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

Johannes Bechberger jbechberger at openjdk.org
Mon May 26 09:33:37 UTC 2025


On Sun, 25 May 2025 15:37:42 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

>> src/hotspot/share/jfr/periodic/sampling/jfrThreadSampling.cpp line 168:
>> 
>>> 166:   assert(jt != nullptr, "invariant");
>>> 167: 
>>> 168:   biased = false;
>> 
>> Can be moved after the has_last_Java_frame() check.
>
> Alternatively its not needed, as it is initialized by the caller.

I removed the assignment.

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

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


More information about the hotspot-jfr-dev mailing list