January 2018
Intermediate to advanced
350 pages
9h 7m
English
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 ...