changeset 39272:65c0727c04db

8157373: Active workers should not be reset in AbstractWorkGang initialize() Reviewed-by: kbarrett, tschatzl, jwilhelm
author jmasa
date Thu, 19 May 2016 14:53:18 -0700
parents e73eb62f991d
children 1d8c0c1e59d6
files hotspot/src/share/vm/gc/shared/workgroup.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }