Remark time not added to G1 GarbageCollectorMXBeans
Yude Lin
yude.lyd at alibaba-inc.com
Wed Nov 16 10:31:17 UTC 2022
Hi GC team,
I noticed the GarbageCollectorMXBeans for G1 do not count the Remark time,
whereas jstat does include the Remark time in the 'CGCT' field.
And for CMS, the Remark time seems to count towards the 'ConcurrentMarkSweep' bean.
This is a little inconsistent IMHO. In particular,
for applications transitioning from CMS to G1, we will see a sharp decline
in GC time (through stats monitoring&streaming service that uses GC beans).
This could be misleading for users, who don't always understand the
details behind the stats collection.
Should we add the remark as well as cleanup time to a G1 bean?
Thanks in advance!
Regards,
Yude
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20221116/77dee4fb/attachment.htm>
More information about the hotspot-gc-dev
mailing list