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

Zhengyu Gu zgu at openjdk.org
Mon May 5 13:29:56 UTC 2025


On Mon, 5 May 2025 13:09:43 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

>> Hotspot does have an implementation of [lock free stack]( https://github.com/openjdk/jdk/blob/master/src/hotspot/share/utilities/lockFreeStack.hpp), but you have to deal with ABA problem.
>
> Which is not array based and therefore not usable in signal handlers.

I see. If it is only used in signal handlers, does it really need to be multi-threaded?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20752#discussion_r2073432450


More information about the hotspot-dev mailing list