RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v17]
Markus Grönlund
mgronlun at openjdk.org
Tue May 27 16:23:58 UTC 2025
On Tue, 27 May 2025 14:44:19 GMT, Johannes Bechberger <jbechberger at 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
More information about the hotspot-jfr-dev
mailing list