Skip to content

Oracle’s Java Mission Control

September 13, 2013

Oracle now provides a closed-source, high performance profiling and monitoring tool as of Oracle Java 1.7.0_40 and later. So if you run OpenJDK (the Java reference implementation), you do NOT get these little extras that Oracle provides. Java Mission Control (JMC) and Java Flight Recorder (JFR) come from BEA’s JRocket Java implementation which was acquired by Oracle in 2008. This tool is intended to be used in production, but requires a purchase of a license for this purpose. However, it is completely free to use for development purposes. This action is part of Oracle’s strategy to consolidate these two JVM implementations into a single JVM “HotRockit”.

How do I use Mission Control?

Once you have Oracle’s Java version 1.7.0_40 or later, you can run any Java process with mission control and flight recorder active by passing these command line arguments:
-XX:+UnlockCommercialFeatures -XX:+FlightRecorder
Now when you startup Java Mission Control (JMC) by running $JAVA_HOME/bin/jmc it should automatically detect your Java process.

I won’t describe how to use it, since there exists a Java youtube channel that has a great screencast of Java Mission Control and Flight Recorder.

Additional Resources

Press Release on JDK7u40 and Mission Control

Oracle Java Mission Control

Java Flight Recorder Guide

Marcus Hirt (Oracle JRockit) Blog

Oracle Whitepaper on JMC & JFR


From → Java

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: