Linux signals
David Holmes
david.holmes at oracle.com
Fri Jan 8 04:30:39 UTC 2021
Hi Walt,
On 8/01/2021 7:18 am, Walt Drummond wrote:
> Hi --
>
> I'm chasing down some information about how the JVM interacts with
> signals on Linux. Specifically I need to understand if any of the
> Java runtime attempts to directly inspect the system stack when in a
> POSIX signal handler. My survey of the code doesn't seem to show any
> such uses, and in fact it looks like the JVM relies only on the POSIX
> signals API but I figured I'd ask the experts for confirmation.
I'm not quite sure what you are asking with regards to the "system
stack". The hotspot signal handler does a range of things to try and
determine what the signal might mean - e.g. whether it is a true error
or an internal use of signals that we can recover from. That may involve
examining the thread stack.
Cheers,
David
-----
> Thanks.
> --Walt
>
More information about the hotspot-dev
mailing list