Contents for Tuning JRockit JVM

 

Introduction to Tuning BEA JRockit JVM

How BEA JRockit is Tuned

JVM Tuning Terminology

What You'll Find in Tuning BEA JRockit JVM

Tuning BEA JRockit JVM

Setting the Heap Size

Setting the Initial and Minimum Heap Size

Default

Setting the Maximum Heap Size

Encountering OutOfMemory Errors

Default

Setting the Size of the Nursery

Default

Heap Sizing Guidelines

Defining When a Memory Space will be Cleared

Default

Setting the Thread Stack Size

Minimum Thread Size

Default

Basic Tuning Tips and Techniques

Determine What You Want to Tune For

Set the Heap Size

Tune the JVM

Tuning for High Responsiveness

Tuning for High Performance

Other Tuning Tips

Analyze the Performance by Using the JRA

Analyze Garbage Collection and Pause Times

Use -Xgcreport

Use -Xverbose:memory

Disable Lock Optimization if Your Application is Slow

Analyzing and Improving Application Performance

Alternate Methods of Analysis

Step 1: Find the Hotpaths

Find the Bottleneck Methods

Cluster the Bottleneck Methods Together into Hotpaths

Step 2: Prioritize the Hotpaths

Step 3: Fix the Hotpath

Step 4: Repeat Steps 1-3