Documentation Contents
Java Platform, Standard Edition Java Mission Control User's Guide
Contents    Previous    Next

2 Using the Java Mission Control Client

The Java Mission Control Client is the main application from which you connect to JVMs and start the tools included in Java Mission Control. You can run the Java Mission Control Client either as a standalone application or as an Eclipse plug-in. Ensure that you run the Java Mission Control Client in a secure environment. The Java Mission Control client does not include or run with a security manager.This chapter describes various tools provided with Java Mission Control Client and contains the following topics:

2.1 Overview of the Java Mission Control Client

This section describes the plug-ins in a typical Java Mission Control Client.

2.1.1 The JVM Browser

The JVM Browser allows you to set up and manage all running instances of JVM on your system. From the JVM Browser you activate different tools, such as starting a flight recording and connecting a Management Console. Each JVM instance is called a Connection.

2.1.2 Java Flight Recorder

When a flight recording is started from the Java Mission Control Client, it records the status of the JVM process during the specified time period. The Flight Recorder then creates a file containing the recorded data. The recording file is automatically opened in the Java Flight Recorder tool upon completion of the recording.

The Java Flight Recorder (JFR) is a performance monitoring and profiling tool that makes diagnostics information always available, even in the wake of catastrophic failure, such as a system crash. At its most basic, JFR is a rotating buffer of diagnostics and profiling data that is always available, on demand. You might consider it a sort time machine that enables you to go back in time to gather diagnostics data leading up to an event. The data stored in the rotating buffer includes JVM and application events.

In Java Mission Control Client, the Flight Recorder allows users who are running a Flight Recorder-compliant version of the JVM (that is, JDK 7 Update 4 or later) to view the JVM's recordings, current recording settings, and runtime parameters on a series of tabs that aggregate performance data into logical, task-based groups. The data on these tabs is presented by way of an assortment of dials, chart, and tables. At the top of each tab is a sliding window, called the Range Navigator, with which you can expand or narrow the range of reporting; for example, if you see a group of events clustered around a specific time period, you can adjust the Range Navigator to include just those events, with the resulting data for just those events appearing on the tab components.

2.1.3 The Management Console

To view real-time behavior of your application and of the JVM, you can connect to an instance of the JVM and view real-time information through the Management Console in the Java Mission Control Client. Typical data that you can view is thread usage, CPU usage, and memory usage. All graphs are configurable and you can both add your own attributes and redefine their respective labels. In the Management Console you can also create rules that trigger on certain events, for example, to send an email if the CPU usage reaches 90 percent.

With the JMX Agent you have access to all MBeans deployed in the platform MBean server. From these MBeans, you can read attribute information, such as garbage collection pause times.

Contents    Previous    Next

Oracle and/or its affiliates Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.
Contact Us