src/share/vm/gc_implementation/g1/g1_globals.hpp

Print this page
rev 3905 : 8001424: G1: Rename certain G1-specific flags
Summary: Rename G1DefaultMinNewGenPercent, G1DefaultMaxNewGenPercent, and G1OldCSetRegionLiveThresholdPercent to G1NewSizePercent, G1MaxNewSizePercent, and G1MixedGCLiveThresholdPercent respectively. Continue, however, to accept the previous names. If both are specified, the new name takes precedence.
Reviewed-by:


 270                                                                             \
 271   develop(bool, G1StressConcRegionFreeing, false,                           \
 272           "It stresses the concurrent region freeing operation")            \
 273                                                                             \
 274   develop(uintx, G1StressConcRegionFreeingDelayMillis, 0,                   \
 275           "Artificial delay during concurrent region freeing")              \
 276                                                                             \
 277   develop(uintx, G1DummyRegionsPerGC, 0,                                    \
 278           "The number of dummy regions G1 will allocate at the end of "     \
 279           "each evacuation pause in order to artificially fill up the "     \
 280           "heap and stress the marking implementation.")                    \
 281                                                                             \
 282   develop(bool, G1ExitOnExpansionFailure, false,                            \
 283           "Raise a fatal VM exit out of memory failure in the event "       \
 284           " that heap expansion fails due to running out of swap.")         \
 285                                                                             \
 286   develop(uintx, G1ConcMarkForceOverflow, 0,                                \
 287           "The number of times we'll force an overflow during "             \
 288           "concurrent marking")                                             \
 289                                                                             \
 290   experimental(uintx, G1DefaultMinNewGenPercent, 20,                        \
 291           "Percentage (0-100) of the heap size to use as minimum "          \
 292           "young gen size.")                                                \
 293                                                                             \
 294   experimental(uintx, G1DefaultMaxNewGenPercent, 80,                        \
 295           "Percentage (0-100) of the heap size to use as maximum "          \
 296           "young gen size.")                                                \
 297                                                                             \
 298   experimental(uintx, G1OldCSetRegionLiveThresholdPercent, 90,              \
 299           "Threshold for regions to be added to the collection set. "       \
 300           "Regions with more live bytes than this will not be collected.")  \










 301                                                                             \
 302   product(uintx, G1HeapWastePercent, 5,                                     \
 303           "Amount of space, expressed as a percentage of the heap size, "   \
 304           "that G1 is willing not to collect to avoid expensive GCs.")      \
 305                                                                             \
 306   product(uintx, G1MixedGCCountTarget, 4,                                   \
 307           "The target number of mixed GCs after a marking cycle.")          \
 308                                                                             \
 309   experimental(uintx, G1OldCSetRegionThresholdPercent, 10,                  \
 310           "An upper bound for the number of old CSet regions expressed "    \
 311           "as a percentage of the heap size.")                              \
 312                                                                             \
 313   experimental(ccstr, G1LogLevel, NULL,                                     \
 314           "Log level for G1 logging: fine, finer, finest")                  \
 315                                                                             \
 316   notproduct(bool, G1EvacuationFailureALot, false,                          \
 317           "Force use of evacuation failure handling during certain "        \
 318           "evacuation pauses")                                              \
 319                                                                             \
 320   develop(uintx, G1EvacuationFailureALotCount, 1000,                        \




 270                                                                             \
 271   develop(bool, G1StressConcRegionFreeing, false,                           \
 272           "It stresses the concurrent region freeing operation")            \
 273                                                                             \
 274   develop(uintx, G1StressConcRegionFreeingDelayMillis, 0,                   \
 275           "Artificial delay during concurrent region freeing")              \
 276                                                                             \
 277   develop(uintx, G1DummyRegionsPerGC, 0,                                    \
 278           "The number of dummy regions G1 will allocate at the end of "     \
 279           "each evacuation pause in order to artificially fill up the "     \
 280           "heap and stress the marking implementation.")                    \
 281                                                                             \
 282   develop(bool, G1ExitOnExpansionFailure, false,                            \
 283           "Raise a fatal VM exit out of memory failure in the event "       \
 284           " that heap expansion fails due to running out of swap.")         \
 285                                                                             \
 286   develop(uintx, G1ConcMarkForceOverflow, 0,                                \
 287           "The number of times we'll force an overflow during "             \
 288           "concurrent marking")                                             \
 289                                                                             \
 290   experimental(uintx, G1NewSizePercent, 20,                                 \
 291           "Percentage (0-100) of the heap size to use as default "          \
 292           "minimum young gen size.")                                        \
 293                                                                             \
 294   experimental(uintx, G1MaxNewSizePercent, 80,                              \
 295           "Percentage (0-100) of the heap size to use as default "          \
 296           " maximum young gen size.")                                       \
 297                                                                             \
 298   experimental(uintx, G1MixedGCLiveThresholdPercent, 90,                    \
 299           "Threshold for regions to be considered for inclusion in the "    \
 300           "collection set of mixed GCs. "                                   \
 301           "Regions with live bytes exceeding this will not be collected.")  \
 302                                                                             \
 303   experimental(uintx, G1DefaultMinNewGenPercent, 0,                         \
 304           "Deprecated. Replaced by G1NewSizePercent.")                      \
 305                                                                             \
 306   experimental(uintx, G1DefaultMaxNewGenPercent, 0,                         \
 307           "Deprecated. Replaced by G1MaxNewSizePercent.")                   \
 308                                                                             \
 309   experimental(uintx, G1OldCSetRegionLiveThresholdPercent, 0,               \
 310           "Deprecated. Replaced by G1MixedGCLiveThresholdPercent.")         \
 311                                                                             \
 312   product(uintx, G1HeapWastePercent, 5,                                     \
 313           "Amount of space, expressed as a percentage of the heap size, "   \
 314           "that G1 is willing not to collect to avoid expensive GCs.")      \
 315                                                                             \
 316   product(uintx, G1MixedGCCountTarget, 4,                                   \
 317           "The target number of mixed GCs after a marking cycle.")          \
 318                                                                             \
 319   experimental(uintx, G1OldCSetRegionThresholdPercent, 10,                  \
 320           "An upper bound for the number of old CSet regions expressed "    \
 321           "as a percentage of the heap size.")                              \
 322                                                                             \
 323   experimental(ccstr, G1LogLevel, NULL,                                     \
 324           "Log level for G1 logging: fine, finer, finest")                  \
 325                                                                             \
 326   notproduct(bool, G1EvacuationFailureALot, false,                          \
 327           "Force use of evacuation failure handling during certain "        \
 328           "evacuation pauses")                                              \
 329                                                                             \
 330   develop(uintx, G1EvacuationFailureALotCount, 1000,                        \