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

first jstat command in sun/tools/jstat/jstatLineCounts1.sh is failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 17
    • core-svc

      [Note this CR also applies to jstatLineCounts2.sh, jstatLineCounts3.sh and jstatLineCounts4.sh]

      There are two jstat command in these scripts:

      jstat -gcutil -h 10 0 250 11 2>&1 | awk -f ${TESTSRC}/lineCounts1.awk
      jstat -J-XX:+UseParallelGC -gcutil -h 10 0 250 11 2>&1 | awk -f ${TESTSRC}/lineCounts1.awk

      The first one is now failing the checking done by lineCounts1.awk. However, the failure has gone undetected due to the second jstat command that was added by JDK-8245129, which causes the failure of the 1st command to go undetected. JDK-8268484 has been filed for this failure detection issue. The real issue with the CR is that the output of the first command now has all 0's:

         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
        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 0.00 0.00 - - 0 0.000 0 0.000 0 0.000 0.000

            Unassigned Unassigned
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: