RFR: 8366240: Improve memory ordering in new CPU Time Profiler

Jaroslav Bachorik jbachorik at openjdk.org
Thu Sep 18 08:37:14 UTC 2025


On Wed, 27 Aug 2025 12:50:13 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

> Remove acq-rel semantics where it isn't needed.

This looks good. 
Could you add some code comments, perhaps in the *.h file, explaining why we can afford to do this and don't have to enforce the memory ordering and atomics?

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

PR Review: https://git.openjdk.org/jdk/pull/26960#pullrequestreview-3238197922


More information about the hotspot-jfr-dev mailing list