Profiling the Java application

  1. Run jvisualvm from the <JDK_HOME>/bin folder:
Figure 11.1: Java VisualVM profiler

VisualVM lists all the 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.

  1. Once you run the CourseManagement application, the process should also show up under Local:
Figure 11.2: The CourseManagement application available for profiling
  1. Double-click on the process (or right-click and select Open). Then, go to the Profile tab and click on ...

Get Java EE 8 Development with Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.