title: How heap dump collects data
body: <p>I know there are numerous ways to take heap dump of a Java Process. But I would like to know how these data are collected.</p>
  
  <p>In other words, what component in the JVM provides this heap data, when dump is triggered.</p>