On Tue, 27 May 2025 14:44:19 GMT, Johannes Bechberger <jbechber...@openjdk.org> 
wrote:

>> src/hotspot/share/jfr/support/jfrThreadLocal.hpp line 36:
>> 
>>> 34: #include "runtime/mutexLocker.hpp"
>>> 35: 
>>> 36: #ifdef LINUX
>> 
>> Can things now be fwd declared in the .hpp and includes move to the .cpp 
>> instead?
>
> No, because I need the `timer_t` in the arguments of the methods. Or should I 
> use a wrapper class and a pointer to it?

It can be a timer_t*

Then it's fwd declarable.

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

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

Reply via email to