O'Reilly logo

Java EE 7 Performance Tuning and Optimization by Osama Oransa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tuning the JVM

The JVM performance keeps improving with subsequent Java releases. One of the big improvements in the JVM is the ability to auto-tune itself according to certain defined ergonomics rules. This reduces the efforts needed from our side to tune it.

This auto-tuning mainly depends on the machine hardware class, yet some efforts still require to ensure the optimal outcome of our JVM.

Having a high performing JVM is critical for our enterprise applications, so let's see the different aspects of the JVM performance tuning, which are as follows:

  • Selection of the JVM type (client or server)
  • Memory size tuning (heap size and different generational space size)
  • Memory management tuning (initial size, maximum size, and auto-scaling)
  • Garbage collection ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required