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

sun/tools/jstat/jstatLineCounts* tests fail without compressed class space

XMLWordPrintable

      This happens with x86_32, due to "CCS" column printing "-". The test regexp does not accept it. This affects every VM without compressed class support. The same bug would happen if -XX:-UseCompressedClassPointers is supplied to x86_64 VM.

      $ CONF=linux-x86-server-fastdebug make run-test TEST=sun/tools/jstat

      ...

      STDOUT:
        S0 S1 E O M CCS YGC YGCT FGC FGCT CGC CGCT GCT
        0.00 87.50 0.00 0.00 86.62 - 1 0.012 0 0.000 0 0.000 0.012
        0.00 87.50 0.00 0.00 86.62 - 1 0.012 0 0.000 0 0.000 0.012
        0.00 87.50 0.00 0.00 86.62 - 1 0.012 0 0.000 0 0.000 0.012
        0.00 87.50 0.00 0.00 86.62 - 1 0.012 0 0.000 0 0.000 0.012
        0.00 87.50 0.00 0.00 86.62 - 1 0.012 0 0.000 0 0.000 0.012
        0.00 87.50 0.00 0.00 86.62 - 1 0.012 0 0.000 0 0.000 0.012
        0.00 87.50 0.00 0.00 86.62 - 1 0.012 0 0.000 0 0.000 0.012
        0.00 87.50 0.00 0.00 86.62 - 1 0.012 0 0.000 0 0.000 0.012
      ...
      NULL=/dev/null \
          sh \
              /home/shade/trunks/jdk/test/jdk/sun/tools/jstat/jstatLineCounts4.sh

      TEST RESULT: Failed. Execution failed: exit code 1

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: