Has this method ever been called inside a running JVM
问题 Is there a way to figure out if a method ever been called inside running JVM. Let's say I have the following method information and I want to know if it has ever been called: "methodId": { "className": "InvokerParser", "filePath": "org/foo/commons/functors/InvokerParserformer.java", "methodName": "parser" } 回答1: If the application is running on HotSpot JVM, it is possible to get the information about the given method using HotSpot Serviceability Agent. Here is a tool that checks whether the