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

Aleksey Shipilev shade at openjdk.org
Thu Jan 8 09:34:36 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

> FWIW, @tstuefe added checks like this (minus the proposed macro) when introducing the `MAP_FIXED_NOREPLACE` define in os_linux.cpp: [3699666](https://github.com/openjdk/jdk/commit/3699666c9325b38d287e1d4d2576f8e3a662ae81)

Great! Now we "only" need to turn it into an utility macro and use it everywhere :)

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

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


More information about the hotspot-runtime-dev mailing list