Reputation:
I am planning to migrate to Java 8, before I want to check how many classes are being loaded in my project, and more important how much space they will take, so that I can tune and configure metaspace accordingly.
I know that I can use jstat for this purpose, but not sure what kind of parameters do I need to get the result I want.
Upvotes: 1
Views: 584
Reputation: 1271
Use jconsole / jvisualvm from the bin of jdk. Its more intuitive and informative.
Upvotes: 1