RFR: 8352251: Implement Cooperative JFR Sampling [v9]

Markus Grönlund mgronlun at openjdk.org
Wed Apr 23 19:30:52 UTC 2025


On Wed, 23 Apr 2025 08:44:17 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Zero does not use JFR, `jfr` build feature flag is not enabled. So we only need to make sure it compiles. It currently does not, because `last_Java_fp` returns `ZeroFrame*`, and not generic `intptr_t*`. Here: [jfr-cooperative-zero-1.txt](https://github.com/user-attachments/files/19863729/jfr-cooperative-zero-1.txt)

Thanks alot @shipilev . It was precisely this "ZeroFrame*" that tripped me up.

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

PR Comment: https://git.openjdk.org/jdk/pull/24296#issuecomment-2825316481


More information about the hotspot-dev mailing list