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

Hsperf counter ParNew::CMS should be ParNew:CMS

XMLWordPrintable

    • gc
    • b10

        The hsperf counter was "ParNew:CMS", but now it is "ParNew::CMS". It should still use single colon as ParallelGC and SerialGC still use the value "ParScav:MSC" and "Copy:MSC".

        Verifying is easy:
        $ java -XX:+UseConcMarkSweepGC -XX:PerfDataSaveFile=test.hsperf -version >& /dev/null; strings test.hsperf | grep -C 2 "sun.gc.policy.name"
        sun.gc.lastCause
        No GC
        sun.gc.policy.name
        ParNew::CMS
        sun.gc.policy.collectors

        $ java -XX:+UseParallelGC -XX:PerfDataSaveFile=test.hsperf -version >& /dev/null; strings test.hsperf | grep -C 2 "sun.gc.policy.name"
        sun.gc.generation.1.space.0.used
        sun.gc.generation.1.space.0.initCapacity
        sun.gc.policy.name
        ParScav:MSC
        sun.gc.policy.collectors

              jcbeyler Jean Christophe Beyler
              jcbeyler Jean Christophe Beyler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: