Read through this article to get an Instrumentation object: Instrumentation: querying the memory usage of a Java object
One you have the Instrumentation Object, you can call the...
Type: Posts; User: aussiemcgr
Read through this article to get an Instrumentation object: Instrumentation: querying the memory usage of a Java object
One you have the Instrumentation Object, you can call the...
I'm not sure how you would get a list of all the classes in your project (I don't think the JVM even sees "Projects", just Classes, Libraries, and Packages).
However, if you could get a list of all...