Documentation of JavaTreeProfiler

Documentation of JavaTreeProfiler


Projekt: JavaTreeProfiler
Version: 2002年01月28日
Autor: Wolfgang Jung mailtoW.Jung@micromata.com
URL:
download Download JProfiler.pdf

Inhaltsverzeichnis

1 SourceForge
1.1 Download
2 Installing
2.1 Prerequisites
2.2 Compiling
3 Running
3.1 Profiling an application
3.2 Viewer

1 SourceForge



Hosted on SourceForge

1.1 Download

http://sourceforge.net/project/showfiles.php?group_id=45045 Download from SourceForge

2 Installing


2.1 Prerequisites

2.2 Compiling

Simply unpack the jprofiler-1.1.1.tar.gz 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.


Sample output from ProfileViewer

You can navigate in the treemap with the mouse by

In the File Menu you can load alternate files, or save the current view as a JPG image


(This html document is automatically generated at Mon Jan 28 20:32:33 CET 2002 from a XML file using rendering framework JavaTemplates / JSP.)

AltStyle によって変換されたページ (->オリジナル) /