views:

915

answers:

5

Want to know what the stackoverflow community feels about the various free and non-free Java Profilers and profiling tools available.

+3  A: 

JProfiler works very well for us.

http://www.ej-technologies.com/products/jprofiler/overview.html

cagcowboy
JProfiler is fantastic!
Aidos
A: 

See also: "Please recommend a Java profiler"

Chris Kimpton
Not totally a duplicate, because in that question primarily a text-based, free or low-cost profiler is sought for, while this question is more open.
Jonik
+2  A: 

Yourkit is pretty good for CPU analysis.

For memory usage analsis using heap dumps use http://www.eclipse.org/mat/

kohlerm
+1 for YourKit which I've also used, mainly for CPU profiling
Jonik
A: 

You ask what do we use.

Tools are fine, but for finding time-tumors, frankly I've seen nothing that works better than this.

Mike Dunlavey
that is equivalent to cpu sampling
Seun Osewa
@Seun: They do not all sample the stack. For those that sample the stack, they do not all do it on wall-clock time. For those that do sample the stack on wall-clock time, they do not all present the results in the most useful way. Rather they only summarize over functions and the call graph. Here is a case study and more detailed explanation of the method: http://stackoverflow.com/questions/926266/performance-optimization-strategies-of-last-resort/927773#927773
Mike Dunlavey