Understanding Java Thread Dumps
Java thread dumps play a crucial role in troubleshooting server performance. A thread dump is a list of all threads and the full stack trace of code running in each of those threads. It also reveals the state and name of the threads. Thus, a thread dump captures exactly what's happening in the server at an instance in time—it's a snapshot of the current server activity. The stack trace is a dump of the current executing stack, and it shows the method calls running in that thread. For example, here is an example of a stack trace for a thread:
"ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" daemon prio=1 tid=0x0938ac90 nid=0x2f53 waiting for monitor entry [0x80c77000..0x80c78040] at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:95) ...
Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.