--- old/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp 2012-05-30 14:28:59.130069300 +0200 +++ new/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp 2012-05-30 14:28:58.220017300 +0200 @@ -3906,12 +3906,6 @@ gc_epilogue(false); } - - if (ExitAfterGCNum > 0 && total_collections() == ExitAfterGCNum) { - gclog_or_tty->print_cr("Stopping after GC #%d", ExitAfterGCNum); - print_tracing_info(); - vm_exit(-1); - } } // The closing of the inner scope, immediately above, will complete