-XX:+UseConcMarkSweepGC (what is default young generation collector?)

Viewed 51815

As far as I know we can run JVM with the next options:

-XX:+UseConcMarkSweepGC
-XX:-UseParNewGC

in this case we will have the Serial (DefNew) garbage collector for the young generation and the Concurrent Mark Sweep garbage collector for the old generation.

Well, can we run JVM with -XX:+UseConcMarkSweepGC option only? I mean without any options that describes a garbage collector for the young generation. If we can do that, which garbage collector will be used for the old generation?

1 Answers
Related