Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which Java Profiling tool do you use and which tool you think is the best? [closed]

Tags:

Want to know what the stackoverflow community feels about the various free and non-free Java Profilers and profiling tools available.

like image 452
Nikhil Kashyap Avatar asked Oct 08 '08 06:10

Nikhil Kashyap


People also ask

What is Java profiler used for?

Profiling is the process of examining an application to locate memory or performance-related issues. When profiling a Java application, you can monitor the Java Virtual Machine (JVM) and obtain data about application performance, including method timing, object allocation and garbage collection.

What are the profiling tools?

You can use profiling tools to identify which portions of the program are executed most frequently or where most of the time is spent. Profiling tools are typically used after a basic tool, such as the vmstat or iostat commands, shows that a CPU bottleneck is causing a performance problem.

Is JVM a Java profiler?

A Java Profiler is a tool that monitors Java bytecode constructs and operations at the JVM level. These code constructs and operations include object creation, iterative executions (including recursive calls), method executions, thread executions, and garbage collections.


2 Answers

JProfiler works very well for us.

http://www.ej-technologies.com/products/jprofiler/overview.html

like image 105
cagcowboy Avatar answered Sep 17 '22 17:09

cagcowboy


Yourkit is pretty good for CPU analysis.

For memory usage analsis using heap dumps use http://www.eclipse.org/mat/

like image 43
kohlerm Avatar answered Sep 19 '22 17:09

kohlerm