当前位置: 动力学知识库 > 问答 > 编程问答 >

java - jvm method invocation history trace

问题描述:

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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: