< prev index next >

src/share/vm/runtime/globals.hpp

Print this page
rev 8613 : imported patch TonyCMSChunksAuto2
rev 8614 : imported patch TonyCMSChunksAuto3
rev 8616 : [mq]: TonyCMSChunksAuto5

@@ -1696,10 +1696,39 @@
   diagnostic(intx, ParGCCardsPerStrideChunk, 256,                           \
           "The number of cards in each chunk of the parallel chunks used "  \
           "during card table scanning")                                     \
           range(1, max_intx)                                                \
                                                                             \
+  manageable(bool, UseDynamicParGCStrides, true,                            \
+          "Enables auto-tuning of ParGCCardsPerStrideChunk "                \
+          "based on the capacity of the old generation")                    \
+                                                                            \
+  manageable(size_t, DynamicParGCStridesMinOldGenCapacity, G,               \
+          "Old generation capacity lower bound for the auto-tuning "        \
+          "heuristics of ParGCCardsPerStrideChunk")                         \
+          constraint(DynamicParGCStridesMinOldGenCapacityConstraintFunc)    \
+                                                                            \
+  manageable(size_t, DynamicParGCStridesMaxOldGenCapacity,                  \
+                                             NOT_LP64(2*G) LP64_ONLY(16*G), \
+          "Old generation capacity upper bound for the auto-tuning "        \
+          "heuristics of ParGCCardsPerStrideChunk")                         \
+          constraint(DynamicParGCStridesMaxOldGenCapacityConstraintFunc)    \
+                                                                            \
+  manageable(size_t, DynamicParGCStridesMinSize, 256,                       \
+          "ParGCCardsPerStrideChunk lower bound for the "                   \
+          "auto-tuning heuristics")                                         \
+          constraint(DynamicParGCStridesMinSizeConstraintFunc)              \
+                                                                            \
+  manageable(size_t, DynamicParGCStridesMaxSize,                            \
+                                              NOT_LP64(512) LP64_ONLY(8*K), \
+          "ParGCCardsPerStrideChunk upper bound for the "                   \
+          "auto-tuning heuristics")                                         \
+          constraint(DynamicParGCStridesMaxSizeConstraintFunc)              \
+                                                                            \
+  product(bool, PrintDynamicParGCStrides, false,                            \
+          "Print info on auto-tuning of ParGCCardsPerStrideChunk")          \
+                                                                            \
   product(uintx, OldPLABWeight, 50,                                         \
           "Percentage (0-100) used to weight the current sample when "      \
           "computing exponentially decaying average for resizing "          \
           "OldPLABSize")                                                    \
           range(0, 100)                                                     \
< prev index next >