RFR: 8261649: AArch64: Optimize LSE atomics in C++ code [v4]
Andrew Haley
aph at openjdk.java.net
Thu Feb 18 17:11:40 UTC 2021
On Thu, 18 Feb 2021 16:43:29 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Switch statement layout.
>
> src/hotspot/cpu/aarch64/vm_version_aarch64.cpp line 192:
>
>> 190: if (_cpu == CPU_ARM && (_model == 0xd07 || _model2 == 0xd07)) _features |= CPU_STXR_PREFETCH;
>> 191:
>> 192: _features |= CPU_STXR_PREFETCH;
>
> This looks weird. The line above it adds `CPU_STXR_PREFETCH` conditionally. Which one is correct?
It was a mistake. Gone now.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2611
More information about the hotspot-dev
mailing list