Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8145582

Documentation for jstat -gc should say that MC stands for print Metaspace committed size, not Metaspace capacity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • None
    • docs
    • None

      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)

            cwayne Clifford Wayne (Inactive)
            mcastegr Mattis Castegren (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: