RFR: 8332917: failure_handler should execute gdb "info threads" command on linux

Serguei Spitsyn sspitsyn at openjdk.org
Wed May 29 01:07:06 UTC 2024


On Fri, 24 May 2024 19:45:21 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> On linux, failure_handler dumps stack traces for all threads, but this dump does not include the name of each thread. The gdb "info threads" command will give a summary of all threads, and if debugging process, the summary will include each thread's name. If debugging a core file, for some reason the thread name is not included, but the summary is still useful.
> 
> Tested by running some tests that fail with a timeout, and looking at the failure_handler gdb output for both the process and the core file.

Marked as reviewed by sspitsyn (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/19401#pullrequestreview-2084069635


More information about the hotspot-dev mailing list