Is there a free tool for profiling Java methods runtime?

I need to know the runtime use of java api methods created in my project by other applications, does anyone know any free tool to know this?

Many thanks.

+3


source to share


4 answers


You seem to need a profiler. VisualVM contains one. It may not be the most powerful, but it is quite easy to use and ships with the Sun JDK since 1.6.0_07.



+2


source


Yes, you can download the Netbeans Profiler , where you can view statistics and thread execution.



+1


source


Perhaps you could try to apply some aspect oriented programming. It seems like logging is a classic use case. Try for example. AspectJ .

0


source


Check JaMon . Works with old JDKS and is very easy to use.

0


source







All Articles