RFR: 8343249: [Windows] Implement SpinPause

Julian Waters jwaters at openjdk.org
Fri Nov 8 09:49:48 UTC 2024


On Mon, 4 Nov 2024 02:52:53 GMT, David Holmes <dholmes at openjdk.org> wrote:

> > Linux/ARM64 confuses me a little, since the implementation for the spin_wait stub seems to be completely empty:
> > https://github.com/openjdk/jdk/blob/5995786dbd69ed11dd1cacb2a3ac86e3e6f43ab7/src/hotspot/cpu/aarch64/stubRoutines_aarch64.cpp#L61
> 
> That's the initial value but it gets overwritten in ./cpu/aarch64/stubGenerator_aarch64.cpp:
> 
> ```
>     StubRoutines::aarch64::_spin_wait = generate_spin_wait();
> ```

Ah, thanks for the correction. I don't know how I missed that

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

PR Comment: https://git.openjdk.org/jdk/pull/21781#issuecomment-2464259513


More information about the hotspot-runtime-dev mailing list