--- old/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp 2012-05-28 22:32:03.696076600 +0200 +++ new/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp 2012-05-28 22:32:02.778024000 +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