Java Platform, Standard Edition Java Flight Recorder Runtime Guide
Contents    Previous    Next

2 Quick Start Procedures

This chapter provides instructions for quickly starting up Java Flight Recorder and creating your first recording.

This chapter contains the following sections:

2.1 Using Java Mission Control Client

The simplest way to control Java Flight Recorder is by using the Java Mission Control Client. Java Mission Control Client is a tools suite that you can use to monitor, manage, and profile your Java application, without introducing the performance overhead normally associated with these types of tools. For more information about Java Mission Control, see Introduction to Oracle JRockit Mission Control at

2.2 Step 1: Start the Flight Recorder

Start Java Mission Control Client from the command line by entering:

JAVA_HOME/bin/jmc (or JAVA_HOME\bin\jmc.exe

When Java Mission Control Client launches, a list of all the JVMs running on the system appears in the JVM Browser.

  1. Choose the JVM for which you want to create a recording and right-click to open a context menu.

  2. From the context menu, select Start Flight Recording

    The Start Flight Recording dialog box appears.

2.3 Step 2: Set Recording Parameters

Use the Start Flight Recording dialog box to specify key recording parameters. Complete this dialog box by doing the following:

See Figure 2-1.

Figure 2-1 Start Flight Recording Wizard

Description of Figure 2-1 follows
Description of "Figure 2-1 Start Flight Recording Wizard"

2.4 Step 3: Start the Recording

Click Finish to start the recording. You can follow the progress of the recording at the bottom of the Java Mission Control window in the status bar. You can also open the Progress View (see Figure 2-2). The Remaining column indicates the amount of time left before the recording terminates.

Figure 2-2 Progress View

Description of Figure 2-2 follows
Description of "Figure 2-2 Progress View"

Once the recording has finished it will open automatically in JRockit Mission Control Client and you can analyze the results.

2.5 Stopping a Recording

Usually, a recording will continue for the length of time specified in the Start Flight Recording wizard. If you want to terminate a recording before the specified time elapses, do one of the following:

  • In the JVM Browser view, right-click the recording and select Stop.

  • In the Progress View, click the stop button (the red squre).

The recording will stop and open automatically in Java Mission Control, showing all data collected up to the termination point.

2.6 Additional Information

For additional information on using the Flight Recorder GUI, refer to the online help that is installed with the product.

Contents    Previous    Next

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.