Reputation: 54025
Is the G1 garbage collector still considered experimental in recent versions of Java (6)? Is it safe and ready for production use?
EDIT: I am referring to Oracle JVM.
Upvotes: 6
Views: 2207
Reputation: 20065
No as suggest this Oracle article, it's still experimental. It will replace CMS but it seems that it's not quite performant yet : Relative Performance of Java's Garbage First (G1) Garbage Collector?
EDIT :
So now the G1 is "fully supported" in JDK7u4, it not consider anymore as experimental, so I guess it's production ready! .
Upvotes: 3
Reputation: 23443
Java 6: Update 20.
Java 7: Primordial version has it.
By Oracle JVM, you mean Sun HotSpot? It might be confused with JRockit. Much preferred to call it HotSpot.
Upvotes: 1