]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/j_thread_example.txt
MFC r368207,368607:
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / j_thread_example.txt
1 Following we see examples of the results of running j_thread.d.  
2
3 Here it is running while Code/Java/Func_abc is executing.
4
5 # j_thread.d
6 TIME                     PID/TID   -- THREAD
7 2007 Sep 24 04:01:34  311512/5     => Finalizer
8 2007 Sep 24 04:01:34  311512/4     => Reference Handler
9 2007 Sep 24 04:01:34  311512/7     => CompilerThread0
10 2007 Sep 24 04:01:34  311512/6     => Signal Dispatcher
11 2007 Sep 24 04:01:34  311512/8     => CompilerThread1
12 2007 Sep 24 04:01:34  311512/9     => Low Memory Detector
13 ^C
14
15 The fields of the output are, in order, Event time, Process ID/Thread ID,
16 entry (=>) or exit (<=) and Thread name.
17
18 In this example we see six different threads starting, but we do not see 
19 thread exit events as the JVM exited when the program stopped. 
20