Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java GC CMS Collector Times

We have enabled garbage collection logs for our application. I see some lines where it prints the time of some of the CMS steps. Can anyone explain or point me to some link which explains CMS logs like

9657.238: [CMS-concurrent-mark: 17.199/17.396 secs] [Times: user=80.61 sys=10.00, real=17.40 secs]

like image 453
rontu Avatar asked Feb 11 '26 03:02

rontu


1 Answers

CMS and its phases are well explained at http://blog.griddynamics.com/2011/06/understanding-gc-pauses-in-jvm-hotspots_02.html.

For the times being printed, this is Unix process times, as pointed by Lithium you can read What do 'real', 'user' and 'sys' mean in the output of time(1)? for that.

like image 186
Guillaume Perrot Avatar answered Feb 13 '26 17:02

Guillaume Perrot



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!