views:

76

answers:

3

Possible Duplicate:
Please recommend a Java profiler

I am trying to track down the methods that are time-consuming in our java code base, and would appreciate it if someone can recommend a free tool for doing java time profiling. Thanks.

+2  A: 

Included with JDK6 is the excellent jvisualvm adapted from Netbeans. Add the Java bin directory to your path and type jvisualvm in the run prompt or at the command line.

Jonathon
The Sun JVM only.
Thorbjørn Ravn Andersen
+3  A: 

If you're using eclipse then you could look at TPTP

David
A: 

Let me presume to restate your goal. You want to find the lines of code that are responsible for the most wall-clock time and that you could get rid of to save that time.

This is the most free tool there is, and some consider to be the most effective.

Mike Dunlavey