The javadoc says returns the total number of collections that have occurred, is it since the start of the JVM?
I am using G1GC, and I see values are going up & down for e.g. at T1 - 250 and T2 - 91 and T3 - 150 so I doubt it is from the start of the time.
So could someone please let me know what does getCollectionCount returns? Does it differ for each garbage collector?
I have gone through couple of answers here already but none seems to answer the above question.
Thanks in advance