RFR: 8352251: Implement JEP 518: JFR Cooperative Sampling [v23]

Markus Grönlund mgronlun at openjdk.org
Fri May 16 22:17:58 UTC 2025


On Thu, 15 May 2025 21:55:08 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:

>> That would, of course, be ideal, but I don't think there exists any abstraction to read the current bcp from the ucontext_t, abstracting it for all platforms.
>
> We know which register we use in each platform so it should be same as getting any other register. You can always fallback to getting it from the frame as now for platforms other than x64 and aarch64.

I will try to see what can be done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24296#discussion_r2093731977


More information about the hotspot-jfr-dev mailing list