RFR: 8350111: [PPC] AsyncGetCallTrace crashes when called while handling SIGTRAP
Martin Doerr
mdoerr at openjdk.org
Tue Feb 25 15:23:54 UTC 2025
On Tue, 25 Feb 2025 09:38:58 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Can this also happen on other platforms when in signal handling (e.g. segfault based nullchecks?)
I guess such problems can happen on all platforms which use some kind of link register (aarch64, s390, ?). I also don't like that we lose so many samples with this current solution. I only approved it because I think it is better than crashing.
Recognizing that a signal handler is on stack may be a better solution. Do we already have functionality for that?
There are efforts to read the stack at a safepoint. @parttimenerd: Would it make sense to wait for that?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23641#issuecomment-2682353832
More information about the hotspot-runtime-dev
mailing list