RFR: 8186670: Implement _onSpinWait() intrinsic for AArch64 [v4]

Evgeny Astigeevich github.com+42899633+eastig at openjdk.java.net
Tue Sep 28 08:06:13 UTC 2021


On Thu, 23 Sep 2021 08:27:01 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> Evgeny Astigeevich has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Move spin_wait in cpp file with removal of loop macro
>>   
>>   In addition, comments are added to a checking method of a test.
>
> src/hotspot/cpu/aarch64/vm_version_aarch64.cpp line 68:
> 
>> 66:     return PauseImplDesc(YIELD, count);
>> 67:   } else if (strcmp(s, "none") != 0) {
>> 68:     vm_exit_during_initialization("Invalid value for OnSpinWaitImpl", OnSpinWaitImpl);
> 
> Suggestion:
> 
>     vm_exit_during_initialization("The options for OnSpinWaitImpl are nop, isb, yield, and none", OnSpinWaitImpl);

Done

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

PR: https://git.openjdk.java.net/jdk/pull/5562


More information about the hotspot-dev mailing list