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) 2010,, 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\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:
Misscion Control 4.1 Screen

Last update: 2014.

Table of Contents

 About This Book

 Downloading and Installing JDK 1.8.0 on Windows

 Downloading and Installing JDK 1.7.0 on Windows

 java.lang.Runtime Class - The JVM Instance

 java.lang.System Class - The Operating System

 ClassLoader Class - Class Loaders

 Class Class - Class Reflections

 Sun's JVM - Java HotSpot VM

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

 JVM Runtime Data Areas

 Memory Management and Garbage Collectors

 Garbage Collection Tests

 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

 Outdated Tutorials


 PDF Printing Version