RFR: 8360936: Test compiler/onSpinWait/TestOnSpinWaitAArch64.java fails after JDK-8359435 [v2]
Andrew Haley
aph at openjdk.org
Wed Jul 2 08:52:46 UTC 2025
On Wed, 2 Jul 2025 08:45:23 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:
> ```
>
> ```
>
>
>
>
>
> The test searches for `- compiler.onSpinWait.TestOnSpinWaitAArch64$Launcher::test at 0` and `invokestatic onSpinWait`. They identify the place where to search instructions.
That's not great. C2 is free to move stuff around, so it's not certain this test will keep working. If you just want to make sure that the pattern is used, a block_comment() would be more reliable.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26072#issuecomment-3027010064
More information about the hotspot-compiler-dev
mailing list