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

jstat "M" column is wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8, 11, 17, 23
    • core-svc

        column {
          header "^M^" /* Metaspace - Percent Used */
          data (1-((sun.gc.metaspace.capacity - sun.gc.metaspace.used)/sun.gc.metaspace.capacity)) * 100
          align right
          width 6
          scale raw
          format "0.00"
        }

      sun.gc.metaspace.capacity is metaspace.committed(), which is wrong, it should be metaspace.reserved() when max space is configured

            lcable Larry Cable
            yyang Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: