RFR: Implement JEP 509: JFR CPU-Time Profiling [v45]
Zhengyu Gu
zgu at openjdk.org
Mon May 5 13:34:55 UTC 2025
On Mon, 5 May 2025 13:27:26 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> You certainly can use pre-allocated array as allocation pool, with additional `next` field. However, the challenge is how to deal with `ABA` problem (or does it have `ABA` problem?). I am not sure you can use `GlobalCounter` inside signal handlers.
>
> This is why I replaced it with a queue that doesn't have these problems.
Which queue implementation you were referring?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20752#discussion_r2073459705
More information about the hotspot-dev
mailing list