Profiling Tasks: Quick Reference

This topic describes common profiling tasks. For more detailed information, click the links in the right column.

To perform this task Follow these steps
Calibrate the profiler. You need to calibrate the profiler the first time you use your local JDK or a remote JDK for profiling.
Start profiling a local application.
  1. Do one of the following:
    • Select the project node in the Projects window and choose Profile > Profile Project in the main menu.
    • To profile a project that is set as the main project, choose Profile > Profile Main Project.
    • To profile an individual project, right-click the project in the Projects window and choose Profile Project.
  2. Select a profiling task.
  3. Click Run.
Modify a running profiling session.
  1. While a profiling session is in progress, choose Profile > Modify Profiling Session from the main menu. Alternatively, click Modify Profiling Session in the Profiler window.
  2. Select a Profiling Task.
  3. Click OK.
Profile a remote application.
  1. Use the Attach wizard and configure the startup options for the application for the remote attach method if not already configured.
  2. Install the Profiler Remote pack on the remote JVM if not already installed.
  3. Start the application on the target JVM.
  4. Choose Profile > Attach Profiler from the main menu.
  5. Select the Project and a profiling task in the Select Profiling Task dialog box.
  6. Click Attach.
Attach to a local application.
  1. Use the Attach wizard and configure the startup options for the application for the local attach method if not already configured.
  2. Start the application on the target JVM.
  3. Choose Profile > Attach Profiler from the main menu.
  4. Select the Project and a profiling task in the Select Profiling Task dialog box.
  5. Click Attach.
Stop a profiling session.
  • Choose Profile > Stop Profiling Session from the main menu.
Take a snapshot of profiling results.
  • While a profiling session is in progress, choose Profile > Take Snapshot of Collected Results from the main menu.
Take a heap dump.
  • While a profiling session is in progress, choose Profile > Take Heap Dump from the main menu.

Legal Notices