RFR: 8261579: AArch64: Support for weaker memory ordering in Atomic [v4]

Andrew Haley aph at openjdk.java.net
Fri Jun 25 15:02:35 UTC 2021


> At present the Atomic operations in HotSpot only support conservative (the very strongest) and relaxed (the weakest) memory ordering.
> We should add at least seq_cst for LSE. This patch also adds a release-only CAS, needed for Shenandoah.

Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:

  Sanitize memory order for BSD CAS

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4597/files
  - new: https://git.openjdk.java.net/jdk/pull/4597/files/bbf1a51a..6298e85a

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4597&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4597&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4597.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4597/head:pull/4597

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


More information about the hotspot-dev mailing list