--- old/src/share/vm/gc_implementation/shared/vmGCOperations.cpp 2014-10-17 16:09:58.000000000 +0200 +++ new/src/share/vm/gc_implementation/shared/vmGCOperations.cpp 2014-10-17 16:09:58.000000000 +0200 @@ -192,7 +192,7 @@ GenCollectedHeap* gch = GenCollectedHeap::heap(); GCCauseSetter gccs(gch, _gc_cause); - gch->do_full_collection(gch->must_clear_all_soft_refs(), _max_level); + gch->do_full_collection(gch->must_clear_all_soft_refs(), _max_generation); } // Returns true iff concurrent GCs unloads metadata.