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

Andrew Haley aph at openjdk.java.net
Fri Oct 8 09:33:07 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.

Looks good, thanks.

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

Marked as reviewed by aph (Reviewer).

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


More information about the hotspot-dev mailing list