RFR: 8186670: Implement _onSpinWait() intrinsic for AArch64 [v8]
Stuart Monteith
smonteith at openjdk.java.net
Tue Sep 28 13:17:49 UTC 2021
On Tue, 28 Sep 2021 13:10:16 GMT, Evgeny Astigeevich <github.com+42899633+eastig at openjdk.org> wrote:
>> Yes, currently it is assumed that hsdis is not present and hence that the disassembly produces hex insns. However, if you install hsdis as part of the build (as I always do) then these tests will fail. It would really be better if the test looked for the correct hex insns or disassembled insns.
>
> @adinn is correct. I am updating the test to support hsdis.
I'd suggest the most straightforward way to deal with this would be to check for the hex and fail if neither are found. An alternative could be to switch behaviour if the message "Loaded disassembler from hsdis-aarch64.so" is found.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5562
More information about the hotspot-dev
mailing list