RFR: 8278241: Implement JVM SpinPause on linux-aarch64

Evgeny Astigeevich duke at openjdk.java.net
Mon Dec 13 15:57:22 UTC 2021


On Sat, 11 Dec 2021 09:25:51 GMT, Andrew Haley <aph at openjdk.org> wrote:

> > @nick-arm @theRealAph @stooart-mon Hi, could you have a look please?
> 
> This is way too complicated. I'd use `MacroAssembler::spin_wait()` to generate a stub and call it from `SpinPause`.

Hi @theRealAph,

Thank you for advice. It was a good exercise to learn how to write a stub generator.
I reimplemented SpinPause to use a generated stub.

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

PR: https://git.openjdk.java.net/jdk/pull/6803


More information about the hotspot-dev mailing list