What is heap dump and thread dump?

What is heap dump and thread dump?
Answer
A thread dump is a dump of the stacks of all live threads. Thus useful for analyzing what an app is up to at some point in time, and if done at intervals handy in diagnosing some kinds of ‘execution’ problems (e.g. thread deadlock). A heap dump is a dump of the state of the Java heap memory.
 

Tìm kiếm

Back
Top