RFR: 8307806: Rename Atomic::fetch_and_add and friends [v3]

Kim Barrett kbarrett at openjdk.org
Fri May 12 09:00:49 UTC 2023


> Please review this renaming of Atomic::fetch_and_add and friends to be
> consistent with the naming convention recently chosen for atomic bitops.  That
> is, make the following name changes for class Atomic and it's implementation:
> 
> - fetch_and_add => fetch_then_add
> - add_and_fetch => add_then_fetch
> 
> Testing:
> mach5 tier1-3
> GHA testing

Kim Barrett has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:

 - additional renamings post-genzgc
 - Merge branch 'master' into atomic-arith-names
 - revert accidental Red Hat copyright change
 - rename in tests
 - rename uses
 - rename impl

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

Changes: https://git.openjdk.org/jdk/pull/13896/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13896&range=02
  Stats: 165 lines in 46 files changed: 0 ins; 0 del; 165 mod
  Patch: https://git.openjdk.org/jdk/pull/13896.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13896/head:pull/13896

PR: https://git.openjdk.org/jdk/pull/13896


More information about the hotspot-dev mailing list