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