Events
Power BI DataViz World Championships
14 Feb, 4 pm - 31 Mar, 4 pm
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article shows you how to monitor and manage Java workloads with JDK Flight Recorder and JDK Mission Control.
Oracle open-sourced Mission Control in 2018, and it's managed as a project under the OpenJDK umbrella. Coupled with Flight Recorder, Mission Control delivers low-overhead, interactive monitoring and management capabilities for Java workloads.
Follow the steps below to install JDK Mission Control, connect to a Java Virtual Machine (JVM), and gain real-time visibility into all aspects of a running application.
Make sure you have a JDK installed.
Find a JDK Mission Control binary from the OpenJDK JMC Project on GitHub. Then, choose the appropriate version for your system, save it locally, and change to that directory.
Expand the downloaded file. The examples below are for Azul Zulu Mission Control.
Linux:
tar -xzvf zmc8.0.0.17-ca-linux_x64.tar.gz
Windows:
unzip -zxvf zmc8.0.0.17-ca-win_x64.zip
macOS:
tar -xzvf zmc8.0.0.17-ca-macos_x64.tar.gz
Start your Java application using one of the compatible JDKs. For example:
$JAVA_HOME/bin/java -jar MyApplication.jar
Start Zulu Mission Control
Linux:
zmc8.0.0.17-ca-linux_x64/zmc
Windows:
zmc8.0.0.17-ca-win_x64\zmc.exe
macOS:
zmc8.0.0.17-ca-macos_x64/Zulu\ Mission\ Control.app/Contents/MacOS/zmc
Locate the JVM running your application.
In the upper left pane of the Zulu Mission Control window, select the tab labeled JVM Browser.
Select and expand the list item in the upper left for the JVM instance running your application.
Start a Flight Recording, if necessary.
If the Flight Recorder displays "No Recordings", start one. To start a recording, right-click on the Flight Recorder line in the JVM Browser tab and then select Start Flight Recording.
Select either a fixed duration recording or a continuous recording, and either a Profiling configuration (fine-grained) or a Continuous configuration (lower overhead), then select Finish.
Dump the Flight Recording.
A Flight Recording should appear below the Flight Recorder line in the JVM Browser. Right-click on the line representing the Flight Recording and select Dump whole recording.
A new tab will appear in the large pane on the right side of the Zulu Mission Control window. This pane represents the Flight Recording just dumped from the JVM running your application.
Examine the Flight Recording using Zulu Mission Control
Azul Systems provides a demonstration video narrated by Azul Systems Deputy CTO Simon Ritter. The video walks you through the configuration and setup of both Flight Recorder and Zulu Mission Control. The Flight Recorder discussion starts at 31:30.
Events
Power BI DataViz World Championships
14 Feb, 4 pm - 31 Mar, 4 pm
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreTraining
Module
Monitoring Java applications on Azure - Training
Learn how to use monitoring for your Java applications on Azure
Certification
Microsoft Certified: Azure Administrator Associate - Certifications
Demonstrate key skills to configure, manage, secure, and administer key professional functions in Microsoft Azure.