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

jstat displays "0" or "-" for metaspace values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 16
    • core-svc
    • generic

    Description

      The change "8245129: Enhance jstat gc option output and tests" introduced
      those tests :
      sun/tools/jstat/jstatLineCounts1.sh
      sun/tools/jstat/jstatLineCounts2.sh
      sun/tools/jstat/jstatLineCounts3.sh
      sun/tools/jstat/jstatLineCounts4.sh

      Those 4 tests fail on the ppc64 platforms (linux ppc64, ppc64le and AIX).

      sun/tools/jstat/jstatLineCounts1.sh has this stdout output :

      :stdOut:
      Wed Jul 01 00:33:43 CEST 2020
        S0 S1 E O M CCS YGC YGCT FGC FGCT CGC CGCT GCT
        0.00 0.00 0.00 0.00 - - 0 0.000 0 0.000 0 0.000 0.000
        0.00 0.00 0.00 0.00 - - 0 0.000 0 0.000 0 0.000 0.000
        0.00 0.00 0.00 0.00 - - 0 0.000 0 0.000 0 0.000 0.000
        0.00 0.00 0.00 0.00 - - 0 0.000 0 0.000 0 0.000 0.000
        0.00 0.00 0.00 0.00 - - 0 0.000 0 0.000 0 0.000 0.000
        S0 S1 E O M CCS YGC YGCT FGC FGCT CGC CGCT GCT
        0.00 0.00 66.32 0.00 - - 0 0.000 0 0.000 - - 0.000
        0.00 0.00 66.32 0.00 - - 0 0.000 0 0.000 - - 0.000
        0.00 0.00 66.32 0.00 - - 0 0.000 0 0.000 - - 0.000
        0.00 0.00 66.32 0.00 - - 0 0.000 0 0.000 - - 0.000
        0.00 0.00 68.32 0.00 - - 0 0.000 0 0.000 - - 0.000


      Seems the M and CCS entries are missing, those columns only contain - .

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mbaesken Matthias Baesken
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: