RFR: 8274615: Support relaxed atomic add for linux-aarch64

David Holmes dholmes at openjdk.java.net
Mon Oct 11 11:53:09 UTC 2021


On Fri, 1 Oct 2021 05:04:45 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change to the linux-aarch64 port to support relaxed
> atomic add operations.  Both ldxr/stxr and LSE-based implementations are
> provided. The appropriate one to use selected at runtime, using the existing
> infrastructure for that selection.
> 
> Testing:
> mach5 tier1-3
> Some hand-checked performance and functional testing that both LSE and
> non-LSE implementations work, and that the relaxed operations are faster
> than the conservative default.

Hi Kim,

Not an ARM expert but seeing as this just elides the dmb this looks fine.

Thanks,
David

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

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5785


More information about the hotspot-dev mailing list