Re:Brief comparison of Java 7 HotSpot Garbage Collectors
by cagenut on Sunday February 24, 2013 @05:36PM
(#5276236)
Yea I would love to see any kind of data, graphs, explanations, war stories, etc on this. We've invested a lot of manhours in tuning our CMS GC settings, so I need more than "its the latest" to justify a few weeks of testing & rollout.
Re:Brief comparison of Java 7 HotSpot Garbage Collectors
by Afforess on Sunday February 24, 2013 @05:47PM
(#5276267)
Anecdotally, I've found the CMS is still a bit better (10-15% faster) than the newer G1, but the G1 has some features which make me inclined to use it. The G1 will return memory to the system, which I have never observed the CMS do, despite having tons of unused memory in my Java applications.
Re:Brief comparison of Java 7 HotSpot Garbage Collectors
by jwr on Sunday February 24, 2013 @06:47PM
(#5276502)
I also found the CMS collector to be both faster and generating latency numbers with less variance for our application. But, I last checked a good year ago and things might have changed since then.
Re:Brief comparison of Java 7 HotSpot Garbage Collectors
by omsn on Sunday February 24, 2013 @05:27PM
(#5276201)
http://docs.oracle.com/javase/7/docs/technotes/guides/vm/G1.... - at the end it says "G1 is planned as the long term replacement for the Concurrent Mark-Sweep Collector (CMS). Comparing G1 with CMS, there are differences that make G1 a better solution." - as G1 shipped with Java 7 I think it's stable, otherwise they probably would have waited until Java 8 imho.
[Citation needed]
As of a couple months ago, the experts I polled considered G1 bleeding edge.