<div class="__aliyun_email_body_block"><div  style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><div  style="line-height:1.7;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;clear:both;"><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">Hi GC team,</span></p><p  class="p2 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><br ></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">I noticed the GarbageCollectorMXBeans for G1 do not count the Remark time,</span></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">whereas jstat does include the Remark time in the 'CGCT' field.</span></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">And for CMS, the Remark time seems to count towards the 'ConcurrentMarkSweep' bean.</span></p><p  class="p2 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><br ></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  style="font-variant-ligatures:no-common-ligatures;">This is a little inconsistent IMHO. In particular,</span><br ></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">for applications transitioning from CMS to G1, we will see a sharp decline</span></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">in GC time (through stats monitoring&streaming service that uses GC beans).</span></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">This could be misleading for users, who don't always understand the</span></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">details behind the stats collection.</span></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">Should we add the remark as well as cleanup time to a G1 bean?</span></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">Thanks in advance!</span></p><p  class="p2 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><br ></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">Regards,</span></p><p  class="p1 __aliyun_node_has_color" style="margin:.0px;font:400 14.0px Menlo;color:#000000;"><span  class="s1" style="font-variant-ligatures:no-common-ligatures;">Yude</span></p></div></div></div>