RFR: 8293547: Add relaxed add_and_fetch for macos aarch64 atomics
Stefan Karlsson
stefank at openjdk.org
Mon May 8 07:57:27 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.
Thanks for reviewing!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13823#issuecomment-1537913618
More information about the hotspot-runtime-dev
mailing list