JRockit Management Console on HotSpot JVM

This section provides a tutorial example on how to use Oracle JRockit Management Console to monitor and manage HotSpot JVM instances.

JRockit Management Console can also be used to monitor and manage HotSpot JVM as shown in the tutorial:

1. Compile and run LongWhile.java with HotSpot 1.6.0 in a command window:

>\Progra~1\java\jdk1.6.0_45\bin\javac LongWhile.java

>\Progra~1\java\jdk1.6.0_45\bin\java LongWhile
 Free memory: 16055544
Total memory: 16252928

2. Compile and run LongSleep2.java with JRockit R28.2.7 in another command window:

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

>\Progra~1\java\jrockit-jdk1.6.0_45-R28.2.7-4.1.0\bin\java LongSleep2
Total memory: 67108864
 Free memory: 63434800
 Used memory: 3674064

3. Restart JRockit Mission Control 4.1.0 and go to the JVM Browser panel. 3 JVM instances will be discovered under the Local folder:

[1.6][HotSpot] LongWhile (9,636)
[1.6]LongSleep2 (11,272)
This Mission Control

4. Right mouse click on "[1.6][HotSpot] LongWhile (9,636)" and select "Start Console". The JRockit Management Console will be connected to the HotSpot JVM instance.
Misscion Control 4.1 on HotSpot JVM

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

 References

 PDF Printing Version