RFR: 8278241: Implement JVM SpinPause on linux-aarch64 [v2]

Evgeny Astigeevich duke at openjdk.java.net
Mon Dec 13 17:44:09 UTC 2021


On Mon, 13 Dec 2021 17:24:58 GMT, Stuart Monteith <smonteith at openjdk.org> wrote:

>> Evgeny Astigeevich has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Reimplement JVM SpinPause with using stub code
>
> src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp line 387:
> 
>> 385:     if (VM_Version::spin_wait_desc().inst() == SpinWait::NONE) {
>> 386:       return 0;
>> 387:     }
> 
> Would it be safe and more efficient to test func for NULL?

Good idea.

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

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


More information about the hotspot-dev mailing list