JVM Tutorials - Herong's Tutorial Examples - Version 4.23, by Dr. Herong Yang
Hardware, OS and JVM Configurations
This section describes hardware, operating system and JVM configurations in which micro benchmark tests are performed.
The first thing I need to do is to record my hardware, operating system, and JVM configurations:
Hardware: Processor: Intel Core 2 CPU Speed: T7200 @ 2.00GHz Memory: 997 MHz, 1.00 GB of RAM Operating system: Microsoft Windows XP Professional Version 2002 Service pack 3 JVM: java version "1.6.0_06" Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
All tests included in this chapter are done with above configurations.
Last update: 2010.
Table of Contents
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
JRockit JVM 28.2.7 by Oracle Corporation
Memory Management and Garbage Collectors
JVM Stack, Frame and Stack Overflow
Thread Testing Program and Result
CPU Impact of Multi-Thread Applications
I/O Impact of Multi-Thread Applications
Micro Benchmark Runner and JVM Options
►Micro Benchmark Tests on "int" Operations
►Hardware, OS and JVM Configurations
"int" Empty Loop: 16 Nanoseconds per Step
"int" Assignment Only: 14 Nanoseconds per Step
"int" Shift and Assignment: 17 Nanoseconds per Step
"int" Add and Assignment: 17 Nanoseconds per Step
"int" Multiply and Assignment: 17 Nanoseconds per Step
"int" Division and Assignment: 19 Nanoseconds per Step
Micro Benchmark Tests on "long" Operations
Micro Benchmark Tests in JIT Compilation Mode