1 Introduction

This document provides simple guidelines to help migrate applications from Oracle JRockit to Java HotSpot VM (HotSpot). It contains sections for each JVM system component that describe the equivalents of those components in both Oracle JRockit and HotSpot. The document also lists the corresponding JVM options of those components. It includes tables that map the complete set of Oracle JRockit -X and -XX command-line options to the ones available in HotSpot.

Heap Sizing

HotSpot has the same options as Oracle JRockit to set the initial and the maximum Java heap size.

Table 1-1 Heap Size

Option Oracle JRockit HotSpot

-Xms

Sets the initial and minimum size of the heap

Sets the initial and minimum size of the heap

-Xmx

Sets the maximum size of the heap

Sets the maximum size of the heap

Note:

When migrating from Oracle JRockit to HotSpot, the Java heap size must essentially be the same.