src/hotspot/share/gc/shared/gc_globals.hpp
changeset 50606 8f1d5d706bdd
parent 50525 767cdb97f103
child 52396 e292e94b448a
--- a/src/hotspot/share/gc/shared/gc_globals.hpp	Tue May 29 09:26:00 2018 +0200
+++ b/src/hotspot/share/gc/shared/gc_globals.hpp	Mon Jun 18 12:11:59 2018 +0200
@@ -307,6 +307,12 @@
   product(bool, ParallelRefProcBalancingEnabled, true,                      \
           "Enable balancing of reference processing queues")                \
                                                                             \
+  experimental(size_t, ReferencesPerThread, 1000,                           \
+               "Ergonomically start one thread for this amount of "         \
+               "references for reference processing if "                    \
+               "ParallelRefProcEnabled is true. Specify 0 to disable and "  \
+               "use all threads.")                                          \
+                                                                            \
   product(uintx, InitiatingHeapOccupancyPercent, 45,                        \
           "The percent occupancy (IHOP) of the current old generation "     \
           "capacity above which a concurrent mark cycle will be initiated " \