aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/dtracetoolkit/Examples/j_thread_example.txt
blob: 3c5e83c6ee02deb67b6734b4260d0364c5f5cf0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Following we see examples of the results of running j_thread.d.  

Here it is running while Code/Java/Func_abc is executing.

# j_thread.d
TIME                     PID/TID   -- THREAD
2007 Sep 24 04:01:34  311512/5     => Finalizer
2007 Sep 24 04:01:34  311512/4     => Reference Handler
2007 Sep 24 04:01:34  311512/7     => CompilerThread0
2007 Sep 24 04:01:34  311512/6     => Signal Dispatcher
2007 Sep 24 04:01:34  311512/8     => CompilerThread1
2007 Sep 24 04:01:34  311512/9     => Low Memory Detector
^C

The fields of the output are, in order, Event time, Process ID/Thread ID,
entry (=>) or exit (<=) and Thread name.

In this example we see six different threads starting, but we do not see 
thread exit events as the JVM exited when the program stopped.