changeset 49386:02e78f38e7d0

8198510: Enable UseDynamicNumberOfGCThreads by default Reviewed-by: tschatzl, sjohanss
author mdoerr
date Tue, 13 Mar 2018 11:29:30 +0100
parents 74518f9ca4b4
children 3875d7b926a8
files src/hotspot/share/runtime/globals.hpp
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 "                         \