RFR: 8277137: Set OnSpinWaitInst/OnSpinWaitInstCount defaults to "isb"/1 for Arm Neoverse N1 [v2]
Evgeny Astigeevich
duke at openjdk.java.net
Wed Nov 17 12:31:12 UTC 2021
On Wed, 17 Nov 2021 12:01:12 GMT, Evgeny Astigeevich <duke at openjdk.java.net> wrote:
>> src/hotspot/cpu/aarch64/vm_version_aarch64.cpp line 206:
>>
>>> 204: }
>>> 205:
>>> 206: if (FLAG_IS_DEFAULT(OnSpinWaitInst) && FLAG_IS_DEFAULT(OnSpinWaitInstCount)) {
>>
>> Should these two be set independently? If I pass `-XX:OnSpinWaitInstCount=2` then `OnSpinWaitInst` will default to "none".
>
> Hi Nick,
> Thank you for reviewing the PR.
>
>> Should these two be set independently?
>
> I don't mind.
Done.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6415
More information about the hotspot-dev
mailing list