The SAP JVM Profiler is a tool that helps you analyze the resource consumption of a Java application running on SAP Java Virtual Machine (JVM). You can use it to profile simple standalone Java programs or complex enterprise applications.
-
Install the SAP JVM Tools for Eclipse. For more information, see Install the SAP JVM Tools in Eclipse.
-
Open a debugging connection using an SSH tunnel. For more information, see Debug an Application Running on SAP JVM
To measure resource consumption, the SAP JVM Profiler enables you to run different profiling analyses. Each profiling analysis creates profiling events that focus on different aspects of resource consumption. For more information about the available analyses, see the SAP JVM Profiler documentation in Eclipse. Go to Help > Help Contents > SAP JVM Profiler.
-
In Eclipse, open the Profiling perspective.
-
From the VM Explorer view, choose
(Connect Host Via Debugging Port).
-
Enter your host name and port number, and choose Next.
Your port number is your local SSH tunnel endpoint.
-
Choose the analysis you want to run and specify your profiling parameters.
To use the thread annotation filters, complete the fields under the Analysis Options section. By default, all filters are set to *, which means that all annotations pass the filter.