Open Source Java Profilers
you've got a list here (listing them below, in-case link gets broken)
- NetBeans Profiler
- JAMon API
- JBoss Profiler
- Java Interactive Profiler (JIP)
- OKTECH Profiler
What can you guys recommend to use with Java?
Only requirement is it should be open source, or has not too expensive academic licence .
Netbeans IDE includes a free profiler.
Also, if I remember correctly, the academic license for JProfiler is (relatively) inexpensive.
JRockit Mission Control, it's free to use for development and it integrates with Eclipse. It has very low overhead (<1%) since it piggybacks on the data the JVM is gathering anyway.
It's very easy to use and it can also give a lot information you typically won't find in other profiling tools, e.g. latency profiling, online memory inspection, detailed gc statistics
Here's an article about Java Application Profiling using TPTP and here's a tutorial Profiling J2SE 5.0 based applications using Eclipse TPTP.
Java has a basic built in profiler called HProf. I find it useful to compare the results it provides with results from more fully features profilers.