Java 7 (JDK 7) garbage collection and documentation on G1
问题 Java 7 has been out for a while now, but I cannot find any good resources on the configuration of the garbage collectors , specifically the new G1 collector . My questions: Is G1 the default collector in Java 7 and if not how do I activate G1? What optional settings does g1 have in Java7? Were there any changes made to other collectors like cms or the parallel collector in Java 7? Where can I find good documentation on garbage collection in Java 7? 回答1: The G1 garbage collector is not the