Open Source Java Profilers

Open Source Java Profilers

The VisualVM which comes with jdk6 has a basic profiler inside it.
VisualVM is provided with the jdk, so if you have the jdk6 installed, you likely have it installed as well.

https://visualvm.github.io/

Best and safest Java Profiler for production use?

Have you tried YourKit? It has almost all of the features you are looking for.

Performance profiler for a java application

I can recommend JVisualVM. It's a great monitoring / profiling tool that is bundled with the Oracle/Sun JDK. Just fire it up, connect to your application and start the CPU-profiling. You should get great histograms over where the time is spent.

Getting Started with VisualVM has a great screen-cast showing you how to work with it.

Screen shot:

VisualVM screenshot


Another more rudimentary alternative is to go with the -Xprof command line option:

-Xprof

Profiles the running program, and sends profiling data to
standard output. This option is provided as a utility that is
useful in program development and is not intended to be be
used in production systems.

Free JVM profilers for websites

Have you checked Netbeans profiler and/or Eclipse TPTP. Both are worth trying and they are very good.

http://profiler.netbeans.org/

http://www.eclipse.org/tptp/

high-performance java profiler

Without breaking into a profiler fightout (you can google for that), CPU sampling is generally recognized to one of the least computationally-intensive profiling methods. This is critical if you're profiling an app in production.

Read the following SO post:
- Which Java Profiling tool do you use and which tool you think is the best?

You can even just use the JDK and the hprof tools, although even the basic profiler will probably be better.

The trick will be to limit the amount of classes to be profiled, as skafman says.

Is there a way to integrate VisualVM, or any free/open-source profiler, into Eclipse without a commercially licensed plugin?

You can try Eclipse launcher for VisualVM.

Profiling for java in eclipse juno

There are several big solution in Java profiler world:

  • JProfiler
  • YourKit
  • JVisualVM, (Standart Oracle JDK tool)

JProfiler and YourKit are powerful tools for analyzing big EE application. Personally I most prefer YourKit. It has easy intergation with Eclipse. But it all is paid solution and not always you need to buy this one.

If you has not very complex application try to use JVisualVM at first. It should be enough to wide range of performance problem analyzing. To monitoring GC behavior it has great VisualGC plugin. With VIsualGC plugin, making heap dumps and analyzing it with MAT you are able to perfectly tune GC if you need.



Related Topics



Leave a reply



Submit