-
Bug
-
Resolution: Fixed
-
P4
-
11
-
b10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8220278 | 11.0.4 | Jean Christophe Beyler | P4 | Resolved | Fixed | b01 |
JDK-8219950 | 11.0.3 | Jean Christophe Beyler | P4 | Resolved | Fixed | b02 |
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
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
- backported by
-
JDK-8219950 Hsperf counter ParNew::CMS should be ParNew:CMS
- Resolved
-
JDK-8220278 Hsperf counter ParNew::CMS should be ParNew:CMS
- Resolved