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.