8198510: Enable UseDynamicNumberOfGCThreads by default
authormdoerr
Tue, 13 Mar 2018 11:29:30 +0100
changeset 49381 02e78f38e7d0
parent 49380 74518f9ca4b4
child 49382 3875d7b926a8
8198510: Enable UseDynamicNumberOfGCThreads by default Reviewed-by: tschatzl, sjohanss
src/hotspot/share/runtime/globals.hpp
--- 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 "                         \