Questions posed online demonstrate the occasional desire of developers to access via their Java applications the types of information normally gained from running JConsole, VisualVM, or JDK command-line tools externally against the application. Here are some examples of those types of questions: How to get jmap histogram programmatically? Programmatically dumping heap from Java applications find ...