RFR: 8186670: Implement _onSpinWait() intrinsic for AArch64 [v2]

Evgeny Astigeevich github.com+42899633+eastig at openjdk.java.net
Mon Sep 20 16:21:42 UTC 2021


On Mon, 20 Sep 2021 12:57:45 GMT, Evgeny Astigeevich <github.com+42899633+eastig at openjdk.org> wrote:

>> You could do it the same way as hotspot/jtreg/compiler/c2/aarch64/TestVolatiles.java, i.e. spawn a subtask and parse the output dump. It's very fiddly, though.
>
> Yes, I used it as an example when I was writing tests for the PR. It works only for C2 because it relies on C2 `XX:+PrintOptoAssembly`. I haven't found anything similar for C1.

Fixed.

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

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


More information about the hotspot-dev mailing list