RFR: 8359435: AArch64: add support for SB instruction to MacroAssembler::spin_wait

Andrew Haley aph at openjdk.org
Thu Jun 26 07:58:30 UTC 2025


On Wed, 25 Jun 2025 16:52:32 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> > I'm still waiting for a use for this thing.
> 
> The other project reports Evgeny linked in PR body look pretty convincing, as well as `ThreadOnSpinWait` microbenchmarks we have as well. This PR does not propose to _switch_ to `SB` for spin-waits, AFAICS. Just having `SB` as the spin-wait option does look fine to me.

I understand, but I see above here, "I am flexible to have it either way." Are you changing your mind? There is no reason not to add the instruction with the patch that uses it, as has been the practice for this port.

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

PR Comment: https://git.openjdk.org/jdk/pull/25801#issuecomment-3007551920


More information about the hotspot-compiler-dev mailing list