Configure
your application.
Change the command
line of your Java application to collect the desired type of data: -Xeprof to collect execution
profiling information, -agentlib:hprof to generate heap dump at program exit, or -XX:+HeapDump to enable generation of heap dumps using
the SIGQUIT signal. There are additional heap dump options. See the for more details.
Run
the application to create a data file.
Start
the console from a local installation on your client workstation.
Click File
Open File to browse for and
open the data file, or drag and drop the file onto the console.
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.
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.