RFR: 8343249: [Windows] Implement SpinPause

David Holmes dholmes at openjdk.org
Mon Nov 4 02:55:26 UTC 2024


On Fri, 1 Nov 2024 16:06:11 GMT, Julian Waters <jwaters 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();

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

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


More information about the hotspot-runtime-dev mailing list