RFR: 8337789: JEP 509: JFR CPU-Time Profiling (Experimental) [v47]
Johannes Bechberger
jbechberger at openjdk.org
Wed May 7 09:27:33 UTC 2025
On Wed, 7 May 2025 07:01:54 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> `JfrTraceQueue` is not used inside of signal handlers, maybe you can use existing `LockfreeStack` or just go with locked implementation instead?
>
> You mean the stack? The trace queue is used in every signal handler to obtain a new trace.
> But with the stack I have the problem as explained before: I would need to store the elements somewhere and therefore need a wrapper class that handles this. This offers not much benefit in my opinion.
@apangin could you chime in?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20752#discussion_r2077213561
More information about the hotspot-dev
mailing list