Extracting memory and thread dumps from a running JRE based JVM

Almost every Java developer knows about jmap and jstack tools that come with the JDK. These provide functionality to extract heap and…