RFR: 8321371: SpinPause() not implemented for bsd_aarch64/macOS [v3]

Evgeny Astigeevich eastigeevich at openjdk.org
Thu Dec 21 20:05:51 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

lgtm

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

Marked as reviewed by eastigeevich (Committer).

PR Review: https://git.openjdk.org/jdk/pull/16994#pullrequestreview-1793594285


More information about the hotspot-runtime-dev mailing list