Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need some information for thread dump analysis

 
Abhishek Purwar
Ranch Hand
Posts: 63
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anayonkar Shivalkar
Bartender
Posts: 1557
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic