| United States-English |
|
|
|
![]() |
HPjmeter: User's GuideChapter 5 Profiling Applications |
|
Table of Contents
HPjmeter allows you to process profile data from Java virtual machines. Separating the profile data collection step from the analysis step has the following advantages:
The -Xeprof profiling option, available for the HP-UX HotSpot™ VM, was specifically designed to produce profile data files for HPjmeter. This option works well to capture performance data for viewing, and now can be accessed during a program run, as well as when starting an application. -Xeprof focuses primarily on performance problems that characterize large server applications. Its relatively low overhead allows you to collect performance data such as the delay caused by lock contention, actual CPU time used by Java methods, and actual profiler overhead. Although many features of HPjmeter are available only when -Xeprof is used to capture the profile data, useful profile data can be obtained from almost any JVM. No special compilation or preprocessing of the application code is needed, and you do not need to have access to the source code to get the profiling data for a Java program. This guide also presents information on running the JVM with -agentlib:hprof , which also provides numerous statistics, some of which are especially useful for detailed profiling of memory usage). |
||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||