HP (Hewlett-Packard) 5992-1918 ユーザーズマニュアル

ページ / 78
Figure 1-14 HPjmeter - Thread Histogram
1.8 HPjtune
NOTE:
The HPjtune product has reached end of life. HP has integrated HPjtune functionality
into HPjmeter 3.0 and recommends migrating to HPjmeter for the latest in bug fixes,
enhancements, and support.
HPjtune
is a garbage collection visualization tool for analyzing garbage collection activity in a
Java program. Data files for HPjtune can be generated using
or
HPjtune
lets you view this data in the following ways:
Predefined graphs, which show the utilization of garbage collector resources and the impact
of the garbage collector on application performance.
User-configurable graphs, which access selected GC metrics.
Other predefined graphs, which show GC behavior pertaining to threads.
HPjtune
also includes a unique feature which allows you to use the data collected with the
option to predict the effect of new garbage collector parameters on future application
runs.
For more information about HPjtune and to download the tool, go to:
Following is an example of running Java with the
option to generate a data file to
be used by HPjtune:
$ /opt/java1.5/bin/java -Xverbosegc:file=java2d_gc.out -jar Java2Demo.jar
The
option causes a data file containing garbage collection data to be generated into
file java2d_gc.out.<pid>. This is how to invoke HPjtune on that file:
 $ /opt/java1.5/bin/java -jar <HPjtune_insdir>/hpjtune/HPjtune.jar java2d_gc.out.15878
where <HPjtune_insdir> is the location of the HPjtune installation.
1.8 HPjtune
35