Java Mission Control

Since Java 7u40, the JDK has included the Java Flight Recorder tool. If you remember the available commands in jcmd, you had some JFR.* options, which are directly related to this tool. It allows you to capture a set of JVM events. It is coupled with Java Mission Control (JMC), which enables you to analyze and exploit the JVM events.

Launching it is easy:

$ $JAVA_HOME/bin/jmc

Once it is launched, you'll get a welcome screen; the view looks similar to the jvisualvm view, with a list of the available processes on the left-hand side:

You can use the same kind of hints as for jvisualvm to identify the process. If you are not ...

Get Java EE 8 High Performance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.