RFR: 8370314: Update signals_posix with new Linux signal codes [v2]
David Holmes
dholmes at openjdk.org
Thu Jan 8 20:02:44 UTC 2026
On Thu, 8 Jan 2026 06:19:56 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> There are a few "new" si_codes defined on Linux that we did not support for error reporting. Some of these are only exposed in more recent glibc versions so we have to hard-wire them for older build environments.
>>
>> The changes are all conditional on Linux, except the POLL_IN addition which is conditional on SIGPOLL, which is turn only exists on Linux.
>>
>> Tested with local Linux environments, plus our CI plus GHA.
>>
>> Thanks.
>
> David Holmes has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>
> - Merge branch 'master' into 8370314-posix-signals
> - 8370314: Update signals_posix with new Linux signal codes
Though I still think this overly cautious approach is protecting against the "impossible". If the value were ever changed then no binaries compiled on a previous version would work - that is simply not a change that is going to happen.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29105#issuecomment-3725526238
More information about the hotspot-runtime-dev
mailing list