Want to know what the stackoverflow community feels about the various free and non-free Java Profilers and profiling tools available.
Asked
Active
Viewed 1.7k times
20
-
You may find some help here: ["If you have a Java application that is consuming CPU when it isn’t doing anything how do you determine what it is doing?"](http://stackoverflow.com/questions/12927/if-you-have-a-java-application-that-is-consuming-cpu-when-it-isnt-doing-anythin) – Chris Kimpton Oct 08 '08 at 06:59
3 Answers
10
JProfiler works very well for us.
http://www.ej-technologies.com/products/jprofiler/overview.html

cagcowboy
- 30,012
- 11
- 69
- 93
4
Yourkit is pretty good for CPU analysis.
For memory usage analsis using heap dumps use http://www.eclipse.org/mat/

kohlerm
- 2,596
- 1
- 17
- 22
0
You ask what do we use.
Tools are fine, but for finding time-tumors, frankly I've seen nothing that works better than this.

Community
- 1
- 1

Mike Dunlavey
- 40,059
- 14
- 91
- 135
-
-
@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 Nov 22 '09 at 01:11