RFR: 8345296: AArch64: VM crashes with SIGILL when prctl is disallowed [v3]
Aleksey Shipilev
shade at openjdk.org
Mon Dec 2 17:39:03 UTC 2024
On Mon, 2 Dec 2024 17:30:03 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:
>> It covers the case: `vl == 0`.
>
> According to https://man7.org/linux/man-pages/man2/prctl.2.html, `prctl` returns a nonnegative value. So we need to check `vl` for zero.
How? `0 < 16` => `TRUE`, but `(0 % 16) != 0` => `FALSE`.
What I can see is that `0` is covered by `is_power_of_2`, however.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22479#discussion_r1866297191
More information about the hotspot-dev
mailing list