--- old/src/share/vm/gc_implementation/g1/g1RemSet.cpp 2013-09-19 22:29:04.000000000 +0200 +++ new/src/share/vm/gc_implementation/g1/g1RemSet.cpp 2013-09-19 22:29:04.000000000 +0200 @@ -375,11 +375,6 @@ DirtyCardQueueSet& dcqs = JavaThread::dirty_card_queue_set(); dcqs.concatenate_logs(); - if (G1CollectedHeap::use_parallel_gc_threads()) { - // Don't set the number of workers here. It will be set - // when the task is run - // _seq_task->set_n_termination((int)n_workers()); - } guarantee( _cards_scanned == NULL, "invariant" ); _cards_scanned = NEW_C_HEAP_ARRAY(size_t, n_workers(), mtGC); for (uint i = 0; i < n_workers(); ++i) {