Integrated: 8345351: RISC-V: Rename macro-assembler routine cmpxchg_weak to weak_cmpxchg
Fei Yang
fyang at openjdk.org
Wed Dec 4 01:47:42 UTC 2024
On Tue, 3 Dec 2024 01:31:18 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Hi, Please consider this trivial change.
>
> We have macro-assembler routine names like `cmpxchg_narrow_value` and `weak_cmpxchg_narrow_value`. And we also have `cmpxchg` and `cmpxchg_weak`. We should rename `MacroAssembler::cmpxchg_weak` to `MacroAssembler::weak_cmpxchg` for consistency in naming with friends. This will also be consistent with names like `weakCompareAndSwapI`, `weakCompareAndSwapL` in AD files.
>
> - [x] hotspot:tier1 test on linux-riscv64 platform.
This pull request has now been integrated.
Changeset: c143138a
Author: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c143138a35689605ebe44d847904e226ffcaeb74
Stats: 23 lines in 4 files changed: 0 ins; 0 del; 23 mod
8345351: RISC-V: Rename macro-assembler routine cmpxchg_weak to weak_cmpxchg
Reviewed-by: rehn, mli
-------------
PR: https://git.openjdk.org/jdk/pull/22505
More information about the hotspot-dev
mailing list