8157373: Active workers should not be reset in AbstractWorkGang initialize()
Reviewed-by: kbarrett, tschatzl, jwilhelm
--- 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);
}