RFR: 8321371: SpinPause() not implemented for bsd_aarch64/macOS [v3]
Fredrik Bredberg
fbredberg at openjdk.org
Thu Dec 21 21:41:48 UTC 2023
On Thu, 21 Dec 2023 17:52:01 GMT, Fredrik Bredberg <fbredberg at openjdk.org> wrote:
>> The SpinPause() function only returns 0 on bsd_aarch64 (i.e. macOS)
>>
>> This PR implements SpinPause() for MacOS on AArch64 and makes it possible to choose between none, nop, isb and yield by using the OnSpinWaitInst option. The same functionality is found on AArch64 based Linux platforms.
>>
>> Tested successfully on macosx-aarch64 tier1-tier5.
>
> Fredrik Bredberg has updated the pull request incrementally with one additional commit since the last revision:
>
> Updated after review
Thanks for the review guys. Since it's now the night before my Christmas vacation, I will wait and integrate this PR another year.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16994#issuecomment-1866963971
More information about the hotspot-runtime-dev
mailing list