Open Source Java Profilers

2019-01-01 10:33发布

What can you guys recommend to use with Java?

Only requirement is it should be open source, or has not too expensive academic licence .

标签: java profiler
11条回答
何处买醉
2楼-- · 2019-01-01 10:53

Java 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

查看更多
浪荡孟婆
3楼-- · 2019-01-01 10:55

Ah. Netbeans Profiler, developer.com's "Product of the Year" winner, in 2009.

查看更多
浪荡孟婆
4楼-- · 2019-01-01 11:01

you've got a list here (listing them below, in-case link gets broken)

  • JMemProf
  • JMP
  • DrMem
  • JTreeProfiler
  • NetBeans Profiler
  • JAMon API
  • JBoss Profiler
  • MessAdmin
  • InfraRED
  • TomcatProbe
  • Java Interactive Profiler (JIP)
  • Profiler4j
  • Stopwatch
  • JMeasurement
  • DJProf
  • TIJmp
  • Allmon
  • Appspy
  • EurekaJ
  • japex
  • OKTECH Profiler
  • Perf4j
查看更多
墨雨无痕
5楼-- · 2019-01-01 11:01

If you are looking for a no-frills, easy to use open source profiler, you may want to take a look at Jip (Java Interactive Profiler). It's published under a BSD license. I found it to be quite useful for small programs. At least, the results it gives are way more easy to understand than hprofs output.

查看更多
君临天下
6楼-- · 2019-01-01 11:06

This is quick, dirty, and very effective: just take a few thread dumps, or pause the program several times, and look at the stack traces.

查看更多
与君花间醉酒
7楼-- · 2019-01-01 11:06

Netbeans IDE includes a free profiler.

Also, if I remember correctly, the academic license for JProfiler is (relatively) inexpensive.

查看更多
登录 后发表回答