Commit 04891c9 1 parent 5c21c00 commit 04891c9 Copy full SHA for 04891c9
File tree 2 files changed +12
-0
lines changed
src/jdk.jdwp.agent/share/native/libjdwp
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2586,6 +2586,17 @@ threadControl_dumpAllThreads()
2586
2586
dumpThreadList (& otherThreads );
2587
2587
}
2588
2588
2589
+ void
2590
+ threadControl_dumpThread (jthread thread )
2591
+ {
2592
+ ThreadNode * node = findThread (NULL , thread );
2593
+ if (node == NULL ) {
2594
+ tty_message ("Thread not found" );
2595
+ } else {
2596
+ dumpThread (node );
2597
+ }
2598
+ }
2599
+
2589
2600
static void
2590
2601
dumpThreadList (ThreadList * list )
2591
2602
{
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ jlong threadControl_getFrameGeneration(jthread thread);
78
78
79
79
#ifdef DEBUG
80
80
void threadControl_dumpAllThreads ();
81
+ void threadControl_dumpThread (jthread thread );
81
82
#endif
82
83
83
84
#endif
You can’t perform that action at this time.
0 commit comments