RFR: 8345351: RISC-V: Rename macro-assembler routine cmpxchg_weak to weak_cmpxchg

Robbin Ehn rehn at openjdk.org
Tue Dec 3 06:33:37 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`.
> We should rename `MacroAssembler::cmpxchg_weak` to `MacroAssembler::weak_cmpxchg` for consistency
> in naming. This will also be consistent with names like `weakCompareAndSwapI`, `weakCompareAndSwapL` in AD files.
> 
> - [x] hotspot:tier1 test on linux-riscv64 platform.

Thanks!

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

Marked as reviewed by rehn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22505#pullrequestreview-2474697780


More information about the hotspot-dev mailing list