Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the garbage-first (G1) collector "production ready" in Java 6?

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.

like image 285
Konrad Garus Avatar asked Mar 13 '12 18:03

Konrad Garus


1 Answers

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! .

like image 101
alain.janinm Avatar answered Sep 28 '22 05:09

alain.janinm