File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Threads and Synchronization and the fly likes Two kinds of Thread dumps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Two kinds of Thread dumps" Watch "Two kinds of Thread dumps" New topic

Two kinds of Thread dumps

Marcelo Rodriguez

Joined: Feb 28, 2008
Posts: 6
I recently learned how to read thread dumps, and when I tried to test my knowledge with a production problem, the customer sent me a thread dump with the following format:

I did not understand anything (where are the monitors? What is the memory address? Who is the current thread? and so on...), I am used to see something like this:

Was this generated from a specific application server's interface? Is there a way to diagnose the problem with the vague information from the first format ?

thanks in advance,

- The powerfull men can destroy one rose or two, they can even destroy the Spring (and Struts), but they will never defeat Java Server Faces (Only Tapestry can do that...) - 'Ctrl+C, Ctrl+V of Che Guevara Quote, with cH4n6Es'
Henry Wong

Joined: Sep 28, 2004
Posts: 20521

Weblogic tries to rename the thread, with relevant data, such as the state. Other than that, the rest of the stack trace should be exactly the same -- except the name of the thread changes.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Marcelo Rodriguez

Joined: Feb 28, 2008
Posts: 6
So, are you saying that this is a 'thread dump' generated by weblogic that keep the information more 'simple'?

So, it's a matter of which JVM generated them, right?
I still believe that HotSpot, JRockit and IBM JVMs will produce different outputs/formats in their thread dumps, do you know the difference between them?

I agree. Here's the link:
subject: Two kinds of Thread dumps
It's not a secret anymore!