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

Aleksey Shipilev shade at openjdk.org
Thu Jan 8 08:04:41 UTC 2026


On Thu, 8 Jan 2026 07:44:39 GMT, David Holmes <dholmes at openjdk.org> wrote:

> `static_assert` in the else of the `#ifndef`? I can try that - though we make assumptions about these sorts of things anyway e.g. SYS_call values.

Yeah, something like that. I am sure glibc would not change the constants going forwards. I am only looking for cases where we got the hard-coded value wrong for some reason; so a mechanical check would make sure we did not. Again, this is not worth doing here. It would probably be some sort of macro like `MAKE_SURE_IS_DEFINED_BUT_THINK_OF_BETTER_NAME_FOR_THIS_MACRO(name, value)` that would encapsulate both defined/undefined paths.

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

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


More information about the hotspot-runtime-dev mailing list