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

Chris Plummer cjplummer at openjdk.org
Thu May 30 19:02: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.

Thanks for the reviews Leonid and Serguei!

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

PR Comment: https://git.openjdk.org/jdk/pull/19401#issuecomment-2140687522


More information about the hotspot-dev mailing list