--- old/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp 2014-10-17 16:28:34.000000000 +0200 +++ new/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp 2014-10-17 16:28:34.000000000 +0200 @@ -197,7 +197,7 @@ "We can only be executing this arm of if at a safepoint"); GCCauseSetter gccs(gch, _gc_cause); gch->do_full_collection(gch->must_clear_all_soft_refs(), - 0 /* collect only youngest gen */); + Generation::Young /* collect only youngest gen */); } // Else no need for a foreground young gc assert((_gc_count_before < gch->total_collections()) || (GC_locker::is_active() /* gc may have been skipped */