RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v5]
Markus Grönlund
mgronlun at openjdk.org
Mon May 26 08:33:15 UTC 2025
On Mon, 26 May 2025 08:27:51 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
>> But I would need to store the timer_t somewhere? Or where would `timer_t* time` point to?
>
> You store the pointer in JfrThreadLocal, instead of the inlined timer_t struct.
>
> One benefit is that you can fwd declare the type and need not include its header.
C heap allocated.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2106829884
More information about the hotspot-jfr-dev
mailing list