• Post Reply Bookmark Topic Watch Topic
  • New Topic

need to take thread dump  RSS feed

 
john sal
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to take thread dump to analyse if there is any race condition exist or not..

can someone let me know how to take thread dump in java?

Moreover i just wanted to know is it differ in the way dump is taken for windows and solaris?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is different. From memory ( although you should confirm this) it is ctrl-break in won and kill -SIGQUIT in Linux.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!