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

Our first performance fixing strategy

The correct identification of code hot spots areas is our way of fixing them. We explored different behavior for application bottlenecks or hot spots and grouped them into different root causes. Then, according to the root causes, we can propose our fix.

In the subsequent chapters, we will modify this strategy a little, but for now, because we have learned different CPU time profiling readings, let's draft our fixing strategy.

In the following diagram, we have to answer the first question, which determines our strategy flow: Is the method performance bad? or is it the method invocation count?:

Our first performance fixing strategy

Fixing the application ...

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