RFR: 8293547: Add relaxed add_and_fetch for macos aarch64 atomics

Erik Österlund eosterlund at openjdk.org
Fri May 5 06:36:16 UTC 2023


On Fri, 5 May 2023 05:57:37 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> Atomic::add_and_fetch currently doesn't honor the relaxed memory order hint. I suggest that we change the code to do so. We initially found this issue when looking into why one of our parallel iterators were slower than expected. We have been using this for a while in the Generational ZGC repository.

Looks good.

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

Marked as reviewed by eosterlund (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13823#pullrequestreview-1414238066


More information about the hotspot-runtime-dev mailing list