7. Tuning the JVM, Step by Step

A modern JVM (Java Virtual Machine) is a complex piece of software with the capability and flexibility to adapt to many different application families and domains. Though many applications perform well with the default settings of a JVM, some applications require additional JVM tuning to meet their performance requirements. Due to the wide variety of applications that can be run on a modern JVM, a large number of JVM attributes can be tuned for running an application. Unfortunately, a well-tuned JVM configuration used for one application may not be well suited for another application. As a result, understanding how to tune a JVM is a necessity.

Tuning a modern JVM is largely an art, but some fundamentals, when ...

Get Java™ Performance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.