[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 byJDK-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
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
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
- relates to
-
JDK-8268211 sun/tools/jstat/jstatLineCountsX.sh tests fail on OCI Linux-aarch64
- Open
-
JDK-8279005 sun/tools/jstat tests do not check for test case exit codes after JDK-8245129
- Open
-
JDK-8248691 jstat displays "0" or "-" for metaspace values
- Open
-
JDK-8268484 2nd jstat cmd added to sun/tools/jstat/jstatLineCounts1.sh causes first jstat cmd to no longer be validated
- Closed
-
JDK-8245129 Enhance jstat gc option output and tests
- Resolved