JDK-8145582 : Documentation for jstat -gc should say that MC stands for print Metaspace committed size, not Metaspace capacity
  • Type: Bug
  • Component: docs
  • Sub-Component: tools
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-12-16
  • Updated: 2018-02-26
  • Resolved: 2018-02-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10Fixed
Related Reports
Relates :  
Description
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)
Comments
Jon Masimitsu confirmed that we should change the docs of CCSC to "committed size" as well to keep this consistent.
14-01-2016

Now customer raise one more question: How about the CCSC? Will it remain 'capacity' or it is going to change to 'committed size' as well? CCSC: Compressed class space capacity (kB)
21-12-2015