Jmap
Let's start with jmap. Oracle states (in its constructor summary) that it creates a convenient script object to deal with the instance java.util.Map. They further describe it as an application that prints shared object memory maps or heap memory details of a given process, core file, or remote debug server.
In order to run the jmap utility successfully, it is necessary to know the required Product ID (PID) of the application that you want to run this tool against. This may be speedily accomplished by using a tool called Java Virtual Machine Process Status Tool (JPS) , which is already available in the JVM. Basically, JPS may be used to create a list of each and every JVM process currently running on the system along with every process's ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access