RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v17]

Markus Grönlund mgronlun at openjdk.org
Tue May 27 16:31:57 UTC 2025


On Tue, 27 May 2025 16:20:58 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

>> 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.

If it's typedeffed as an int or a pointer (in sys/types.h or signal.h), then it won't even need a forward declaration. Try without it and see what happens.

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

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


More information about the hotspot-jfr-dev mailing list