I need to trace a java client application, packaged as a jar, (to know the
flow and the objects being used). Are there any free utilities which do
this.
Robert Klemme - 06 Feb 2004 14:19 GMT
> I need to trace a java client application, packaged as a jar, (to know the
> flow and the objects being used). Are there any free utilities which do
> this.
There is ALF for JAVA, which creates a textual trace of all method
invocations. AFAIK it's only available for Windows but I think there are
similar tools for other platforms.
http://alfj.sourceforge.net/
Then there are several tools for memory profiling, most of which do cost
money:
- optimizeit (Borland)
-
There's an eval license for yourkit. I can't comment on this since I
never used it.
http://www.yourkit.com
And there's a free Eclipse plugin, which I didn't use for memory
profiling.
http://eclipsecolorer.sourceforge.net/index_profiler.html
You'll find plenty here:
http://directory.google.com/Top/Computers/Programming/Languages/Java/Development
_Tools/Performance_and_Testing/
Regards
Robert
Philip Michael - 11 Feb 2004 18:40 GMT
> I need to trace a java client application, packaged as a jar, (to know the
> flow and the objects being used). Are there any free utilities which do
> this.
Check the JFluid profiler (http://research.sun.com/projects/jfluid) - it's
free, and the latest version (1.4) has proper support for both CPU profiling
(who calls whom and how much time it takes) and memory profiling (where
objects are created, in what numbers, and how many GCs they survive).