aspose file tools*
The moose likes Threads and Synchronization and the fly likes need some information for thread dump analysis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "need some information for thread dump analysis" Watch "need some information for thread dump analysis" New topic
Author

need some information for thread dump analysis

Abhishek Purwar
Ranch Hand

Joined: Dec 15, 2007
Posts: 63

Hi All,

Need some information for thread dump analysis. What does below statement signifies and what could be possible reason for this log?

Owns Monitor Lock on com/ibm/ws/util/BoundedBuffer$GetQueueLock@0x000000060295C5F8/0x000000060295C604

This locks own by WebContainer thread.

Application uses Websphere ApplicationServer, Websphere MQ and DB2 database.

Please help me in understanding what could be possible cause for this log.


Abhishek Purwar,
Bangalore.
Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1507
    
    5

Hi Abhishek,

Firstly, what exact issue are you facing? The line you've mentioned simply states that some thread owns a lock on an object GetQueueLock (at some method - which I think not mentioned in your post).

Generally, the thread dump gives information about what thread is doing what. e.g. if Thread A is holding lock on resource R in method M, thread dump will mention so.

Further, it will also mention the memory address of resource R - so that you can search with this address in the log and figure out what other threads were waiting to acquire lock on resource R (this approach is more helpful in understanding deadlock situations).

I hope this helps.


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need some information for thread dump analysis