• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running a code profiler  RSS feed

 
Aaron Roberts
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to jump into profiling and tuning my code. I've tried running with -Xprof and -Xrunhprof, but the output is pretty much spaghetti at this point. I've tried jvmstat too.

I'd like to figure out which of my methods are being called most often and how long the execution takes for the method.

I'd like to see where the garbage collector is running or what its collecting. I think anyway. I doubt I'd know something was out of whack, even if I had strong evidence to show a problem. Ya got to know how to understand the evidence first!

Whats the best place to start? Any tools or tuts for making life easier?

Regards,
Aaron R>
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.javaperformancetuning.com/ is a good site on the topic with lots of usefull information and links.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!