8198510: Enable UseDynamicNumberOfGCThreads by default
Reviewed-by: tschatzl, sjohanss
--- a/src/hotspot/share/runtime/globals.hpp Thu Mar 08 14:33:57 2018 -0800
+++ b/src/hotspot/share/runtime/globals.hpp Tue Mar 13 11:29:30 2018 +0100
@@ -1430,9 +1430,10 @@
"Use semaphore synchronization for the GC Threads, " \
"instead of synchronization based on mutexes") \
\
- product(bool, UseDynamicNumberOfGCThreads, false, \
- "Dynamically choose the number of parallel threads " \
- "parallel gc will use") \
+ product(bool, UseDynamicNumberOfGCThreads, true, \
+ "Dynamically choose the number of threads up to a maximum of " \
+ "ParallelGCThreads parallel collectors will use for garbage " \
+ "collection work") \
\
diagnostic(bool, InjectGCWorkerCreationFailure, false, \
"Inject thread creation failures for " \