We got the following bug filed on Java:
Comparing gclog created using -XX:+PrintAdaptiveSizePolicy -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC with jstat -gc, while running a sample class, it has been found that MC column shows the metaspace committed size instead of the metaspace capacity
Documentation :
http://docs.oracle.com/javase/8/docs/technotes/tools/unix/jstat.html
MC: Metaspace capacity (kB).
CCSC: Compressed class space capacity (kB).
We verified with the Dev team that the documentation should be changed to reflect this, so it should say
MC: Metaspace Committed Size (kB)
Comparing gclog created using -XX:+PrintAdaptiveSizePolicy -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC with jstat -gc, while running a sample class, it has been found that MC column shows the metaspace committed size instead of the metaspace capacity
Documentation :
http://docs.oracle.com/javase/8/docs/technotes/tools/unix/jstat.html
MC: Metaspace capacity (kB).
CCSC: Compressed class space capacity (kB).
We verified with the Dev team that the documentation should be changed to reflect this, so it should say
MC: Metaspace Committed Size (kB)
- relates to
-
JDK-8077987 MaxCapacity for Metaspace for jstat should report MaxMetaspaceSize
-
- Closed
-