O'Reilly logo

Java EE Development with Eclipse - Second Edition by Ram Kulkarni

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

Profiling a Java application

Run jVisualVM from the <JDK_HOME>/bin folder.

Profiling a Java application

Figure 11.1 Java VisualVM profiler

VisualVM lists all Java processes that can be profiled by it on the local machine under the Local node. You can see VisualVM itself listed along with Eclipse. Once you run the CourseManagement application, the process should also show up under Local.

Profiling a Java application

Figure 11.2 CourseManagement application available for profiling

Double-click on the process (or right-click and select Open). Go to the Profile tab. Then, click the CPU button.

Figure 11.3 VisualVM ...

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