On Mon, 26 May 2025 08:19:16 GMT, Johannes Bechberger <jbechber...@openjdk.org> wrote:
>> Of course. A pointer is less space compared to an inlined struct AND a bool. > > 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. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2106825673