< prev index next >

src/share/vm/runtime/globals.hpp

Print this page
rev 13298 : 8184751: Provide thread pool for parallel safepoint cleanup

@@ -1470,10 +1470,16 @@
                                                                             \
   product(uint, ConcGCThreads, 0,                                           \
           "Number of threads concurrent gc will use")                       \
           constraint(ConcGCThreadsConstraintFunc,AfterErgo)                 \
                                                                             \
+  experimental(uint, ParallelSafepointCleanupThreads, 4,                    \
+          "Number of parallel threads to use for safepoint cleanup "        \
+          "(1 will run safepoint cleanup in the VM thread, larger values "  \
+          "will create a thread pool with N threads and use that for "      \
+          "safepoint cleanup")                                              \
+                                                                            \
   product(uint, GCTaskTimeStampEntries, 200,                                \
           "Number of time stamp entries per gc worker thread")              \
           range(1, max_jint)                                                \
                                                                             \
   product(bool, AlwaysTenure, false,                                        \
< prev index next >