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

Analyzing the method time versus the method invocation count

Now let's analyze the CPU profiling results according to what we have seen in the previous sections. We can pick and discuss some of the following possible combinations of high inherent time, that is, the HotSpot method:

  • High self-time
  • High invocation events
  • High self-time and invocation events

    Note

    The self-time of a method is the time spent by the method itself. Usually, it refers to the average time calculated according to the invocations.

    The inherent time of a method includes the total time spent in all calls to this method, which is equal to the method's self-time multiplied by the number of invocations or events.

The hot spot method types

We can classify the hot spot methods into the ...

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