Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/share/services/diagnosticCommand.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class ThreadDumpDCmd : public DCmdWithParser {
ThreadDumpDCmd(outputStream* output, bool heap);
static const char* name() { return "Thread.print"; }
static const char* description() {
return "Print all threads with stacktraces.";
return "Print all platform threads with stacktraces.";
Copy link
Contributor

@AlanBateman AlanBateman Oct 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Thread.print section of the jcmd man page can be updated to align with the update description.

If there is space, then we could include "and all mounted virtual threads".

(Note that there was a previous attempt to change this description when the Thread.print was updated to include mounted virtual threads. At the time, the PR feedback was to separate it to a different PR but there wasn't any follow-up on that so good to see it re-visited here)

}
static const char* impact() {
return "Medium: Depends on the number of threads.";
Expand Down