Skip to content

Commit

Permalink
Include ID and name of tracked thread in lull message (#29007)
Browse files Browse the repository at this point in the history
In order to aid debugging of lulls.
  • Loading branch information
joar authored Oct 21, 2023
1 parent 84c9ea0 commit 68fec9e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,12 @@ protected String getLullMessage(Thread trackedThread, Duration lullDuration) {
.append(" for at least ")
.append(formatDuration(lullDuration))
.append(" without outputting or completing in state ")
.append(getStateName());
.append(getStateName())
.append(" in thread ")
.append(trackedThread.getName())
.append(" with id ")
.append(trackedThread.getId());

message.append("\n");

message.append(getStackTraceForLullMessage(trackedThread.getStackTrace()));
Expand Down

0 comments on commit 68fec9e

Please sign in to comment.