RFR: 8370314: Update signals_posix with new Linux signal codes [v2]

David Holmes dholmes at openjdk.org
Thu Jan 8 12:08:42 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

Also static_assert would only detect an issue with the build platform. The real problem would be if the runtime value was actually different. But there is no way to ask that.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/29105#issuecomment-3723573142


More information about the hotspot-runtime-dev mailing list