Integrated: 8321371: SpinPause() not implemented for bsd_aarch64/macOS
Fredrik Bredberg
fbredberg at openjdk.org
Mon Jan 8 13:33:39 UTC 2024
On Wed, 6 Dec 2023 14:01:49 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.
This pull request has now been integrated.
Changeset: fc047508
Author: Fredrik Bredberg <fbredberg at openjdk.org>
Committer: Erik Österlund <eosterlund at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/fc047508170ab666857d740ccf541c2c3b612277
Stats: 33 lines in 1 file changed: 32 ins; 0 del; 1 mod
8321371: SpinPause() not implemented for bsd_aarch64/macOS
Reviewed-by: eosterlund, dholmes, dcubed, eastigeevich, shade
-------------
PR: https://git.openjdk.org/jdk/pull/16994
More information about the hotspot-runtime-dev
mailing list