Running JRockit Mission Control

This section provides a tutorial example on how to run JRockit Mission Control 4.1 installed as part of JRockit R28.2.7.

Here is what I did to try JRockit Mission Control on my Windows 7 system:

1. Run my program with JRockit JVM R28.2.7 in the command window:

 * Copyright (c) All Rights Reserved.
class LongWhile {
   public static void main(String[] a) {
      Runtime rt = Runtime.getRuntime();
      System.out.println(" Free memory: " + rt.freeMemory());
      System.out.println("Total memory: " + rt.totalMemory());
      while (true);

>\Progra~1\java\jrockit-jdk1.6.0_45-R28.2.7-4.1.0\bin\javac \

>\Progra~1\java\jrockit-jdk1.6.0_45-R28.2.7-4.1.0\bin\java LongWhile

 Free memory: 63434800
Total memory: 67108864

2. Launch JRockit Mission Control in another command window:


3. Click "Window" > "Show View" > "JVM Browser" menu, you will see the "JVM Browser" panel displayed.

4. Open the "Local" folder under "Discovered", you will see two entries "[1.6] LongWhile (6,804)" and "This Mission Control" representing 2 JVM instances that are running on my local machine.

5. Right mouse click on "[1.6] LongWhile (6,804)" and select "Start Console", you will see the overview dashboard displaying general information on my "LongWhile" JVM instance. See the screenshot below:

Mission Control 4.1 Screen
Mission Control 4.1 Screen

Table of Contents

 About This Book

 JVM (Java Virtual Machine) Specification

 Java HotSpot VM - JVM by Oracle/Sun

 java.lang.Runtime Class - The JVM Instance

 java.lang.System Class - The Operating System

 ClassLoader Class - Class Loaders

 Class Class - Class Reflections

 JVM Runtime Data Areas

 JVM Stack, Frame and Stack Overflow

 Thread Testing Program and Result

 CPU Impact of Multi-Thread Applications

 I/O Impact of Multi-Thread Applications

 CDS (Class Data Sharing)

 Micro Benchmark Runner and JVM Options

 Micro Benchmark Tests on "int" Operations

 Micro Benchmark Tests on "long" Operations

 Micro Benchmark Tests in JIT Compilation Mode

 Micro Benchmark Tests on "float" and "double" Operations

 OpenJ9 by Eclipse Foundation

JRockit JVM 28.2.7 by Oracle Corporation

 What Is JRockit JVM?

 Downloading and Installing JRockit R28.2.7

 Running Java Programs on JRockit R28.2.7

 Memory Footprint of JRockit R28.2.7

 What Is JRockit Mission Control?

Running JRockit Mission Control

 What JRockit Management Console

 JRockit Management Console on HotSpot JVM

 Archived Tutorials


 Full Version in PDF/EPUB