(Add page for JMC on Fedora)
m (Fix wording of instructions)
|Line 25:||Line 25:|
Run JMC a specific JDK via:
Revision as of 17:38, 30 January 2019
This page provides information about JMC installations on Fedora. (See also Java.)
This page will discuss JDK Mission Control (JMC) and how to install and run it on Fedora.
What is JMC
JDK Mission Control is a powerful profiling application for HotSpot JVMs and has an advanced set of tools that enables efficient and detailed analysis of the extensive data collected by Flight Recorder (JFR). JMC requires JDK 8 or later.
JFR is part of the JVM, and is available in OpenJDK 11 or Oracle JDK 7u4 or later. Therefore to generate a flight recording to be loaded into JMC for analysis, the target application needs to run on OpenJDK 11 or OracleJDK 7u4 or later.
JMC is available as a module on Fedora 29+. Install the module via:
sudo dnf module enable jmc
sudo dnf module install jmc:latest/default
Run JMC using the default system JDK via:
Run JMC using a specific JDK via:
$ jmc -vm /path/to/jdk/bin
For example, OpenJDK 11 is available on Fedora 29 through the package ‘java-11-openjdk. Install via:
$ sudo dnf install java-11-openjdk
Now we can run JMC with OpenJDK 11 via:
$ jmc -vm /usr/lib/jvm/jre-11-openjdk/bin