RFR: JDK-8288556: VM crashes if it gets sent SIGUSR2 from outside [v2]
Thomas Stuefe
stuefe at openjdk.org
Tue Jun 21 05:20:47 UTC 2022
On Mon, 20 Jun 2022 02:04:18 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
>>
>> use log_warning(os) instead of tty printing
>
> src/hotspot/os/posix/signals_posix.cpp line 1613:
>
>> 1611: ss.print_raw(").");
>> 1612: assert(thread != NULL, "%s.", ss.base());
>> 1613: tty->print_cr("%s", ss.base());
>
> Surely this should be a regular VM warning not a raw write to tty - neither of which are signal-safe.
Okay, I changed this to log_warning(os).
-------------
PR: https://git.openjdk.org/jdk/pull/9181
More information about the hotspot-runtime-dev
mailing list