[Performance] : Java Thread Dumps - Part1
This is first of a two parts article which talks about: What are thread dumps? When to take thread dumps ? How to take thread dumps ? What is inside a thread dumps ? What to look for in a thread dump? Majority of the systems today are mutlicore and hyper-threaded. Threading at the software level allows us to take advantage of a system’s mutlicores to achieve the desired pace and efficiency of the application operations. Along with pace and efficiency, multi-threading brings its own set of problems w.r.t thread contentions, thread racing, high CPU usage etc. In this write up we will see how to debug these problems by taking thread dumps on java applications. ...