Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Profiling on Linux

Tags:

java

cpu

profiler

I have a fairly complex Java application that is utilizing a lot of CPU, and would like to know if there is any recommendation on a profile tool that I could use to determine the cause of the CPU utilization. My goal is to pinpoint the location in the code where it is using most of the CPU time.

like image 322
beyonddc Avatar asked Feb 20 '26 04:02

beyonddc


1 Answers

I've used jProfiler and YourKit on Linux. But you might find the information you're looking for by running the jconsole that comes with recent JDKs. Good information on how to use it: http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html

like image 107
Paul Tomblin Avatar answered Feb 22 '26 18:02

Paul Tomblin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!