Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HPjmeter: User's Guide > Chapter 3 Getting Started

Using HPjmeter to Analyze Profiling Data

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The following steps summarize how to use HPjmeter to save and view profiling information from your applications.

NOTE: If you are running the HP JDK/JRE 5.0.04 or later, you can send a signal to the running JVM to start and stop a profiling data collection period with zero preparation and no interruption of your application. See Profiling with Zero Preparation .
  1. Configure your application.

    Change the command line of your Java application to use -Xeprof or -agentlib:hprof options to capture profiling data.

  2. Run the application to create a data file.

  3. Start the console from a local installation on your client workstation.

  4. Click File->Open File to browse for and open the data file.

  5. For all profiling data types, a viewer window opens and displays a set of tabs containing summary and graphical metric data. You will also see the Metrics and Estimate menus containing additional metric display choices, and a control menu for changing thread scope.

    Profiling viewer initial display
  6. Click among the tabs to view available metrics.

    Use the Metrics or Estimate menus to select additional metrics to view. Each metric that you select opens in a new tab. Mousing over each category in the cascading menu will reveal the relevant metrics for that category.

    Profile viewer with Metrics drop-down
menus revealed

For details on individual metrics and how to interpret the data display, see:

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006 Hewlett-Packard Development Company, L.P.