What is Java Mission Control?
JDK Mission Control is a suite of tools for monitoring, profiling and diagnosing applications running in production on the HotSpot JVM.
Java Mission Control Features
JDK Mission Control mainly consists of two tools at the time of writing:
- The JMX Console – a JVM and application monitoring solution based on JMX.
- The JDK Flight Recorder – a very low overhead profiling and diagnostics tool.
There are also plug-ins available that extend the functionality of JDK Mission Control to, for example, perform heap waste analysis on heap dumps.
Java Mission Control Tutorial
This tutorial will focus on the JDK Flight Recorder part of JDK Mission Control, with bonus exercises for the heap dump analysis tool (JOverflow) and the JMX Console towards the end.
JDK Mission Control can be run both as a stand-alone application and inside of Eclipse. This tutorial can be used with either way of running Mission Control.
Here are some additional videos and articles of mine (Cameron McKenzie) about Java Mission Control and Java Flight Recorder:
- Quick Introduction to Java Mission Control
- Java Mission Control 8 Eclipse plugin Install
- Fix Java memory leaks without costly JVM heap dumps
- The performance cost of autoboxing Java primitive types
- How to start Java's JVM Flight Recorder 3 easy ways
- Performance Problems with Synchronized Methods