< prev index next >

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

Print this page
rev 11259 : 8157373: Active workers should not be reset in AbstractWorkGang initialize()
Reviewed-by:

@@ -42,15 +42,10 @@
   _workers = NEW_C_HEAP_ARRAY(AbstractGangWorker*, total_workers(), mtInternal);
   if (_workers == NULL) {
     vm_exit_out_of_memory(0, OOM_MALLOC_ERROR, "Cannot create GangWorker array.");
   }
 
-  _active_workers = ParallelGCThreads;
-  if (UseDynamicNumberOfGCThreads && !FLAG_IS_CMDLINE(ParallelGCThreads)) {
-    _active_workers = 1U;
-  }
-
   add_workers(true);
 }
 
 
 AbstractGangWorker* AbstractWorkGang::install_worker(uint worker_id) {
< prev index next >