jmap is one of the lesser known jdk provided utilities, which are worth mentioning. Very oftenly we feel the need to peek into the jvm and see which thread is taking how much of heap space - jmap is jdk’s answer to this.
This utility was introduced in jdk1.5 and is as an experimental utility (oracle may discontinue to ship this utility with future releases)
Some of the notable features of jmap are:
1. can print shared object memory maps or heap memory