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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: docs
    • Labels:
      None

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: