jstat "M" column is wrong

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8, 11, 17, 23
    • Component/s: 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

            Assignee:
            Larry Cable
            Reporter:
            Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: