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
Manuel
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
Joachim sauer
source
to share
Yes, you can download the Netbeans Profiler , where you can view statistics and thread execution.
+1
iberck
source
to share
Perhaps you could try to apply some aspect oriented programming. It seems like logging is a classic use case. Try for example. AspectJ .
0
Eyvind
source
to share
Check JaMon . Works with old JDKS and is very easy to use.
0
user179168
source
to share