Profiling a Java Application in Eclipse? (plug-in)

Nick Heiner picture Nick Heiner · Oct 16, 2009 · Viewed 63.3k times · Source

I'm looking to find bottlenecks in my Java application in Eclipse. I'm thinking this might be useful:

http://www.eclipse.org/projects/project_summary.php?projectid=tptp.performance

Any other good plug-ins to use?

EDIT OK, it doesn't necessarily have to be an Eclipse plug-in. But it would be nice. And, I'm most interested in speed.

Answer

Thorbjørn Ravn Andersen picture Thorbjørn Ravn Andersen · Oct 16, 2009

If you can, use jvisualvm in the Sun Java 6 JDK (IBM too). It works out of the box and can answer many of the initial questions.

Note that on Windows you need to invoke jvisualvm with the same Java binary as the program you want to investigate for best results.

(visualvm is a stand-alone subset of the Netbeans profiler)