问题描述:

I have a question. Let's say I am running some java core application and I don't really know much about it. The service gets requests and sends back responses. What I want to know is which classes (and methods) are being currently called. Is it possible to put some kind of a time frame and get all java method calls for specific packages (like com.company.xxxx)? Can I use JConsole or any tools available for it?

I appreciate your response

Thanks

网友答案:

You can issue a thread dump using JConsole.

相关阅读:
Top