RFR: JDK-8151674: STW phases at Concurrent GC should count in PerfCounter

Yasumasa Suenaga yasuenag at gmail.com
Fri Mar 11 03:59:49 UTC 2016

Hi all,

This review request continues from:

I wonder that STW phases (Remark and Cleanup) at G1 are not counted in jstat FGC column. 
For example, Initial Mark and Remark at CMS are counted as FGC. 
We discussed on hotspot-gc-dev for this issue, and I proposed to add new PerfCounter
for CGC STW phases. 

I uploaded webrev. Could you review it?
    hotspot: http://cr.openjdk.java.net/~ysuenaga/JDK-8151674/webrev.00/hotspot/
        jdk: http://cr.openjdk.java.net/~ysuenaga/JDK-8151674/webrev.00/jdk/

For compatibility, this patch works the same as the current by default.
If you set -XX:+EnableConcGCPerfCounter, CGC counter will work fine.
(I want to set +EnableConcGCPerfCounter by default)

I cannot access JPRT.
So I need a sponsor.



More information about the hotspot-gc-dev mailing list