8157373: Active workers should not be reset in AbstractWorkGang initialize()
authorjmasa
Thu, 19 May 2016 14:53:18 -0700
changeset 39272 65c0727c04db
parent 39271 e73eb62f991d
child 39273 1d8c0c1e59d6
8157373: Active workers should not be reset in AbstractWorkGang initialize() Reviewed-by: kbarrett, tschatzl, jwilhelm
hotspot/src/share/vm/gc/shared/workgroup.cpp
--- a/hotspot/src/share/vm/gc/shared/workgroup.cpp	Sat Jun 11 00:12:28 2016 +0000
+++ b/hotspot/src/share/vm/gc/shared/workgroup.cpp	Thu May 19 14:53:18 2016 -0700
@@ -44,11 +44,6 @@
     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);
 }