RFR: 8368722: Vector API intrinsics enabled wrongly on platforms without support for misaligned vector access [v3]
Dingli Zhang
dzhang at openjdk.org
Mon Oct 20 04:01:04 UTC 2025
On Thu, 16 Oct 2025 21:20:01 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> I'm strongly in favor of improving detection logic. In the worst case, it would require performing a misaligned vector access during VM bootstrapping and checking whether it traps or not.
That makes sense to me. I will try to improve the detection making it more reliable on old kernels without good hwprobe support. I think performing a misaligned vector access during VM bootstrapping and checking whether it traps or not is a good way. Thanks for the suggestion!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27506#discussion_r2443765140
More information about the hotspot-dev
mailing list