On Mon, 26 May 2025 08:27:51 GMT, Markus Grönlund <mgron...@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

Reply via email to