`

How will you take thread dump in Java? How will you analyze Thread dump

    博客分类:
  • j2se
阅读更多

How will you take thread dump in Java? How will you analyze Thread dump
In UNIX you can use kill -3 and then thread dump will print on log on windows you can use "CTRL+Break". Rather simple and focus thread interview question but can get tricky if he ask how you analyze it. Thread dump can be useful to analyze deadlock situations as well.

参考文档:http://javarevisited.blogspot.com/2011/07/java-multi-threading-interview.html

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics