RFR: 8362193: Re-work MacOS/AArch64 SpinPause to handle SB

Andrew Haley aph at openjdk.org
Mon Jul 21 16:13:32 UTC 2025


On Mon, 21 Jul 2025 12:55:26 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:

> > Do you not think we should implement the Arm-recommended solution in https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/multi-threaded-applications-arm?
> 
> When we get armv8.7 hardware, I'd like to try their solution. 

OK, that makes sense.

>`ISB`-based solution is looked tuned for Graviton 2/3/4. I see it is implemented to support delays requested in ns. Do we request ns delays in Hotspot?

I don't think that matters. We should experiment whan we have hardware to find a sensible default.

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

PR Comment: https://git.openjdk.org/jdk/pull/26387#issuecomment-3097382695


More information about the hotspot-dev mailing list