RFR: 8252324: Signal related code should be shared among POSIX platforms

Gerard Ziemski gziemski at openjdk.java.net
Tue Oct 6 15:42:10 UTC 2020


On Tue, 6 Oct 2020 05:39:31 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> src/hotspot/os/aix/os_aix.cpp line 1459:
>> 
>>> 1457:   // that will interfere with OOM killling.
>>> 1458:   PosixSignals::print_signal_handler(st, SIGDANGER, buf, buflen);
>>> 1459: }
>> 
>> I wonder with some #ifdefs, this could also be moved to posix_signals.cpp.   Not for this change but maybe a follow-up
>> RFE.
>
> Yes, this os::print_signal_handlers()  and os::print_signal_handler() could be unified across Posix platforms. At least
> the latter.
> (Personally I also would like to print all signal handlers from 1..<smallest non-realtime>, regardless of whether its
> one of "us". E.g. if process overrides SIGCHILD that is interesting too.)

Will be addressed in https://bugs.openjdk.java.net/browse/JDK-8253742

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

PR: https://git.openjdk.java.net/jdk/pull/497


More information about the hotspot-runtime-dev mailing list