Click on the "OK" button. Select the "AppServer Settings" tab. Select the "Launch server automatically When required " checkbox. Click on the Finish button. A confirmation message saying that the project is saved will be displayed. Click on the OK button. Exercise 1: Define a Java Profiler project Once the Project is successfully created another dialog - Define Project Properties dialog - will be displayed.
Read the instructions at top of each tab. Go through the descriptions for Profiling Types. Study the descriptions of the three profiling options. You can configure Filters using Customize Filters Use default values. Study the descriptions of Instrumentation Options. Use the default: Dynamic Instrumentation enabled.
Study the changes indicated in the Launch Instructions tab. AppPerfect Java Profiler must modify your application server's startup file to add instructions to load the profiling agent, etc. This tab shows the exact changes that needs to be made to the startup script.
AppPerfect Java Profiler understands how to configure startup scripts for most commonly available application servers. Also, since it does not modify the original file and instead makes a copy to store the modifications, it is almost always desirable to let AppPerfect Java Profiler make the changes.
Click OK button. Click through all the menu items to familiarize yourself with the available features and how to access them. Viewing through all menu items will provide a reasonable overview of the application. You may modify the path or add new JDK through this dialog box. This will launch Tomcat with PetStore running. The status of Tomcat startup could be seen in the Server Console window.
Observe the dynamic updation of data in the default Project Summary view. You can see various profiling metrics such as heap memory usage, object instance count and Thread count. Four charts are displayed showing details on each call to the Garbage Collector. Double clicking on a Package or a class will take you to the Allocations Tree tab which will show you allocation tree of selected class.
Expand the tree to needed depth to see the allocation hierarchy. Method-wise Allocations shows details of methods where allocations of objects has happened, here you can get details of what all classes were instantiated from a particular method. This is useful to find method where max allocation is happening. A table is displayed with details on all classes and their methods, including the number of invocations, CPU time consumed, etc.
At the bottom you can see incoming and outgoing invocation trees with respect to selected method. You can filter view to see hotspot methods by providing desired hotspot threshold value.
Go through the brief description given for product. NB: Welcome page is displayed only when Profiler x. The New Project wizard will be launched.
Go through the instruction provided on top of the General tab. Keep the default project name and location for the purpose of this exercise. We don't have to provide "Notification" settings or "Target Application Machine" settings for this exercise. Click on the Next button. In the Import tab do nothing. Click the Next button. In the Source tab provide the source files and folders of your local application.
In the "Environment" tab provide the classpath for the sources added in the project. Click on "Verify Classpath" button to validate the classpath.
Please provide correct information to reduce the possibility of spam filters blocking our emails to you that contains the license key. NOTE: To help expedite your learning process, we offer a free 1-hour online personalized demo which will help you with installation and getting started. We can also answer key questions about product features and implementation. Please email sales at AppPerfect. Notes: Please double-check to ensure your email address is entered correctly.
0コメント