< prev index next >

src/share/vm/gc/shared/workgroup.cpp

Print this page

        

@@ -274,11 +274,10 @@
             "Trying to execute task %s with %u workers which is more than the amount of total workers %u.",
             task->name(), num_workers, total_workers());
   guarantee(num_workers > 0, "Trying to execute task %s with zero workers", task->name());
   uint old_num_workers = _active_workers;
   update_active_workers(num_workers);
-  guarantee(_active_workers == num_workers, "active workers %u num_workers %u", _active_workers, num_workers);
   _dispatcher->coordinator_execute_on_workers(task, num_workers);
   update_active_workers(old_num_workers);
 }
 
 AbstractGangWorker::AbstractGangWorker(AbstractWorkGang* gang, uint id) {
< prev index next >