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

Evgeny Astigeevich duke at openjdk.java.net
Mon Dec 13 17:59:54 UTC 2021


On Mon, 13 Dec 2021 17:41:00 GMT, Evgeny Astigeevich <duke at openjdk.java.net> wrote:

>> 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.

Done

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

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


More information about the hotspot-dev mailing list