Documentation of JavaTreeProfiler
Projekt: | JavaTreeProfiler |
---|---|
Version: | 2002-01-28 |
Autor: |
Wolfgang Jung W.Jung@micromata.com
|
URL: | |
Download JProfiler.pdf |
Inhaltsverzeichnis
1 SourceForge1 SourceForge
1.1 Download
2 Installing
2.1 Prerequisites
ant
JDK 1.2 or later
g++ on Unix or Visual C++ on Win32
Linux, Solaris or Win32
2.2 Compiling
Simply unpack the
JProfiler
archive
and start
ant
.
ant
will compile the Java Files and the JVMPI client,
starts a sample application and displays the profiling result in a
treemap.
3 Running
3.1 Profiling an application
To run the profiler copy the
libjprofiler.so
to a
location that can be found by the dynamic loader.
Insert into the
jprofile.exclude
the classes/packages
You don't want to profile.
File: | ../jprofile.exclude |
---|---|
Content: |
java. javax. com.sun sun. # org.apache # org.xml |
Invoke your application by starting
java -Xrunjprofiler my.package.name.MyClass my_arg0 my_arg1 ... |
Start the profile viewer by starting
ant show |
3.2 Viewer
After starting the viewer the main window will pop-up with a treemap
of the
java.prof
output.
You can navigate in the treemap with the mouse by
Left mousebutton -> Zooming in
Middle mousebutton -> Mark same function
Right mousebutton -> Zooming out
In the
File
Menu you can load alternate files, or
save the current view as a JPG image