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

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

This pull request has now been integrated.

Changeset: ec88c6a8
Author:    Chris Plummer <cjplummer at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ec88c6a872a97cee1cde8844f5ee6834023a10c6
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

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

Reviewed-by: lmesnik, sspitsyn

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

PR: https://git.openjdk.org/jdk/pull/19401


More information about the hotspot-dev mailing list