src/share/vm/runtime/globals.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/runtime

src/share/vm/runtime/globals.hpp

Print this page
rev 5803 : 8028391: Make the Min/MaxHeapFreeRatio flags manageable
Summary: Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC.
Reviewed-by: sla, mgerdin, brutisso


3116   product(uintx, SurvivorRatio, 8,                                          \
3117           "Ratio of eden/survivor space size")                              \
3118                                                                             \
3119   product(uintx, NewRatio, 2,                                               \
3120           "Ratio of old/new generation sizes")                              \
3121                                                                             \
3122   product_pd(uintx, NewSizeThreadIncrease,                                  \
3123           "Additional size added to desired new generation size per "       \
3124           "non-daemon thread (in bytes)")                                   \
3125                                                                             \
3126   product_pd(uintx, MetaspaceSize,                                          \
3127           "Initial size of Metaspaces (in bytes)")                          \
3128                                                                             \
3129   product(uintx, MaxMetaspaceSize, max_uintx,                               \
3130           "Maximum size of Metaspaces (in bytes)")                          \
3131                                                                             \
3132   product(uintx, CompressedClassSpaceSize, 1*G,                             \
3133           "Maximum size of class area in Metaspace when compressed "        \
3134           "class pointers are used")                                        \
3135                                                                             \
3136   product(uintx, MinHeapFreeRatio,    40,                                   \
3137           "The minimum percentage of heap free after GC to avoid expansion."\
3138           " For most GCs this applies to the old generation. In G1 it"      \
3139           " applies to the whole heap. Not supported by ParallelGC.")       \
3140                                                                             \
3141   product(uintx, MaxHeapFreeRatio,    70,                                   \
3142           "The maximum percentage of heap free after GC to avoid shrinking."\
3143           " For most GCs this applies to the old generation. In G1 it"      \
3144           " applies to the whole heap. Not supported by ParallelGC.")       \
3145                                                                             \
3146   product(intx, SoftRefLRUPolicyMSPerMB, 1000,                              \
3147           "Number of milliseconds per MB of free space in the heap")        \
3148                                                                             \
3149   product(uintx, MinHeapDeltaBytes, ScaleForWordSize(128*K),                \
3150           "The minimum change in heap space due to GC (in bytes)")          \
3151                                                                             \
3152   product(uintx, MinMetaspaceExpansion, ScaleForWordSize(256*K),            \
3153           "The minimum expansion of Metaspace (in bytes)")                  \
3154                                                                             \
3155   product(uintx, MinMetaspaceFreeRatio,    40,                              \
3156           "The minimum percentage of Metaspace free after GC to avoid "     \
3157           "expansion")                                                      \
3158                                                                             \
3159   product(uintx, MaxMetaspaceFreeRatio,    70,                              \
3160           "The maximum percentage of Metaspace free after GC to avoid "     \
3161           "shrinking")                                                      \
3162                                                                             \
3163   product(uintx, MaxMetaspaceExpansion, ScaleForWordSize(4*M),              \
3164           "The maximum expansion of Metaspace without full GC (in bytes)")  \




3116   product(uintx, SurvivorRatio, 8,                                          \
3117           "Ratio of eden/survivor space size")                              \
3118                                                                             \
3119   product(uintx, NewRatio, 2,                                               \
3120           "Ratio of old/new generation sizes")                              \
3121                                                                             \
3122   product_pd(uintx, NewSizeThreadIncrease,                                  \
3123           "Additional size added to desired new generation size per "       \
3124           "non-daemon thread (in bytes)")                                   \
3125                                                                             \
3126   product_pd(uintx, MetaspaceSize,                                          \
3127           "Initial size of Metaspaces (in bytes)")                          \
3128                                                                             \
3129   product(uintx, MaxMetaspaceSize, max_uintx,                               \
3130           "Maximum size of Metaspaces (in bytes)")                          \
3131                                                                             \
3132   product(uintx, CompressedClassSpaceSize, 1*G,                             \
3133           "Maximum size of class area in Metaspace when compressed "        \
3134           "class pointers are used")                                        \
3135                                                                             \
3136   manageable(uintx, MinHeapFreeRatio, 40,                                   \
3137           "The minimum percentage of heap free after GC to avoid expansion."\
3138           " For most GCs this applies to the old generation. In G1 and"     \
3139           " ParallelGC it applies to the whole heap.")                      \
3140                                                                             \
3141   manageable(uintx, MaxHeapFreeRatio, 70,                                   \
3142           "The maximum percentage of heap free after GC to avoid shrinking."\
3143           " For most GCs this applies to the old generation. In G1 and"     \
3144           " ParallelGC it applies to the whole heap.")                      \
3145                                                                             \
3146   product(intx, SoftRefLRUPolicyMSPerMB, 1000,                              \
3147           "Number of milliseconds per MB of free space in the heap")        \
3148                                                                             \
3149   product(uintx, MinHeapDeltaBytes, ScaleForWordSize(128*K),                \
3150           "The minimum change in heap space due to GC (in bytes)")          \
3151                                                                             \
3152   product(uintx, MinMetaspaceExpansion, ScaleForWordSize(256*K),            \
3153           "The minimum expansion of Metaspace (in bytes)")                  \
3154                                                                             \
3155   product(uintx, MinMetaspaceFreeRatio,    40,                              \
3156           "The minimum percentage of Metaspace free after GC to avoid "     \
3157           "expansion")                                                      \
3158                                                                             \
3159   product(uintx, MaxMetaspaceFreeRatio,    70,                              \
3160           "The maximum percentage of Metaspace free after GC to avoid "     \
3161           "shrinking")                                                      \
3162                                                                             \
3163   product(uintx, MaxMetaspaceExpansion, ScaleForWordSize(4*M),              \
3164           "The maximum expansion of Metaspace without full GC (in bytes)")  \


src/share/vm/runtime/globals.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File