openjdk /jmc

https://openjdk.org/projects/jmc OpenJDK Mission Control, a production time profiling and diagnostics tools suite.

★ 995⑂ 201👁 32⑃ 737● 0▤ 0
More from this author
+1
Daily
995
stars
201
forks
32
watchers
737
prs
0
issues
0
releases

README

Mission Control

Mission Control is an open source production time profiling and diagnostics tool for Java.

Builds of Mission Control can currently be found in the Oracle JDK on supported platforms and in the Eclipse Marketplace.

For more information on Mission Control, see https://www.oracle.com/missioncontrol.

 Downloading Builds
Binary distributions of JDK Mission Control are provided by different downstream vendors.

 Eclipse Adoptium
 Released version
 EA builds of upcoming release
 Downloadable Eclipse update site archive

https://adoptium.net/jmc


 Azul (Zulu Mission Control)
 Released version

https://www.azul.com/products/zulu-mission-control


 Bell-Soft (Liberica Mission Control)
 Released version

https://bell-sw.com/pages/lmc

 Oracle
 Released version
 Integrated (in-app) update site
 Eclipse update site

https://www.oracle.com/java/technologies/jdk-mission-control.html

 Red Hat
 Released version

Red Hat distributes JDK Mission Control in Red Hat Enterprise Linux (RHEL). JMC is available in RHEL 7 as the rh-jmc Software Collection, and is provided in RHEL 8 by the jmc:rhel8 module stream. JMC is also included in the OpenJDK developer builds for Windows.

 Mission Control Features

 Application Features

 A framework for hosting various useful Java tools 

 A tool for visualizing the contents of Java flight recordings, and the results of an automated analysis of the contents

 A JMX Console 

 A tool for heap waste analysis

 Core API Features

 Core APIs for parsing and processing Java flight recordings 

 Core API can read recordings from JDK 7 and above

 Core API can run on JDK 8 and above

 Core API contains a framework for handling units of measurement and physical quantities

 Core API supports headless analysis of Java flight recordings


 Core API Example

Example for producing an HTML report from the command line:

bash
java -cp  org.openjdk.jmc.flightrecorder.rules.report.html.JfrHtmlRulesReport  []



Example for finding the standard deviation for the java monitor events in a recording:

java
import java.io.File;
 
import org.openjdk.jmc.common.IDisplayable;
import org.openjdk.jmc.common.item.Aggregators;
import org.openjdk.jmc.common.item.IItemCollection;
import org.openjdk.jmc.common.item.ItemFilters;
import org.openjdk.jmc.common.unit.IQuantity;
import org.openjdk.jmc.flightrecorder.JfrAttributes;
import org.openjdk.jmc.flightrecorder.JfrLoaderToolkit;
import org.openjdk.jmc.flightrecorder.jdk.JdkTypeIDs;
 
/
  Finds out the standard deviation for the java monitor enter events.
 /
public class LoadRecording {
    public static void main(String[] args) throws Exception {         
        IItemCollection events = JfrLoaderToolkit.loadEvents(new File(args[0]));
        IQuantity aggregate = events.apply(ItemFilters.type(JdkTypeIDs.MONITOR_ENTER))
                .getAggregate(Aggregators.stddev(JfrAttributes.DURATION));
         
        System.out.println("The standard deviation for the Java monitor enter events wa

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON