RFR: JDK-8214236: sun.gc.collector.2.name should be changed

Thomas Schatzl thomas.schatzl at oracle.com
Wed Jan 16 13:41:42 UTC 2019


Hi Chihiro,

On Wed, 2019-01-16 at 00:30 +0900, Chihiro Ito wrote:
> Hi Thomas and Per,
> 
> I fixed counter name in G1, CMS and Z.
> Could you review it ?
> 
> http://cr.openjdk.java.net/~cito/JDK-8214236/webrev.01/
> 
> 
> For your information, output of PerfCounter.print is following.
> 
> G1GC:
> sun.gc.collector.0.name="G1 incremental collection pauses"
> sun.gc.collector.1.name="G1 full collection pauses"
> sun.gc.collector.2.name="G1 concurrent cycle pauses"
> 
> CMS:
> sun.gc.collector.2.name="CMS concurrent cycle pauses"
> 
> ZGC:
> sun.gc.collector.2.name="Z concurrent cycle pauses"

Fine with me - since we are there, maybe you are interested in
revisiting the names for the other CollectorCounters too?

I found the following:

Parallel GC:

"PSScavenge"
"PSParallelCompact"
"PSMarkSweep"

CMS:

"CMS"
"MSC"

Serial:

"PCopy" (I have no idea what this is supposed to be; this is serial
young gc)

We can skip them too if we can't find better names.

Thanks,
  Thomas





More information about the hotspot-gc-dev mailing list