src/share/vm/runtime/globals.hpp

Print this page
rev 4560 : 8006088: Incompatible heap size flags accepted by VM
Summary: Make processing of minimum, initial and maximum heap size more intiutive by removing previous limitations on allowed values, and make error reporting consistent. Further, fix errors in ergonomic heap sizing.
Reviewed-by: johnc, jwilhelm, tamao


2951           "Ratio of call site execution to caller method invocation")       \
2952                                                                             \
2953   develop_pd(intx, InlineFrequencyCount,                                    \
2954           "Count of call site execution necessary to trigger frequent "     \
2955           "inlining")                                                       \
2956                                                                             \
2957   develop(intx, InlineThrowCount,    50,                                    \
2958           "Force inlining of interpreted methods that throw this often")    \
2959                                                                             \
2960   develop(intx, InlineThrowMaxSize,   200,                                  \
2961           "Force inlining of throwing methods smaller than this")           \
2962                                                                             \
2963   develop(intx, ProfilerNodeSize,  1024,                                    \
2964           "Size in K to allocate for the Profile Nodes of each thread")     \
2965                                                                             \
2966   product_pd(intx, PreInflateSpin,                                          \
2967           "Number of times to spin wait before inflation")                  \
2968                                                                             \
2969   /* gc parameters */                                                       \
2970   product(uintx, InitialHeapSize, 0,                                        \
2971           "Initial heap size (in bytes); zero means OldSize + NewSize")     \
2972                                                                             \
2973   product(uintx, MaxHeapSize, ScaleForWordSize(96*M),                       \
2974           "Maximum heap size (in bytes)")                                   \
2975                                                                             \
2976   product(uintx, OldSize, ScaleForWordSize(4*M),                            \
2977           "Initial tenured generation size (in bytes)")                     \
2978                                                                             \
2979   product(uintx, NewSize, ScaleForWordSize(1*M),                            \
2980           "Initial new generation size (in bytes)")                         \
2981                                                                             \
2982   product(uintx, MaxNewSize, max_uintx,                                     \
2983           "Maximum new generation size (in bytes), max_uintx means set "    \
2984           "ergonomically")                                                  \
2985                                                                             \
2986   product(uintx, PretenureSizeThreshold, 0,                                 \
2987           "Maximum size in bytes of objects allocated in DefNew "           \
2988           "generation; zero means no maximum")                              \
2989                                                                             \
2990   product(uintx, TLABSize, 0,                                               \
2991           "Starting TLAB size (in bytes); zero means set ergonomically")    \




2951           "Ratio of call site execution to caller method invocation")       \
2952                                                                             \
2953   develop_pd(intx, InlineFrequencyCount,                                    \
2954           "Count of call site execution necessary to trigger frequent "     \
2955           "inlining")                                                       \
2956                                                                             \
2957   develop(intx, InlineThrowCount,    50,                                    \
2958           "Force inlining of interpreted methods that throw this often")    \
2959                                                                             \
2960   develop(intx, InlineThrowMaxSize,   200,                                  \
2961           "Force inlining of throwing methods smaller than this")           \
2962                                                                             \
2963   develop(intx, ProfilerNodeSize,  1024,                                    \
2964           "Size in K to allocate for the Profile Nodes of each thread")     \
2965                                                                             \
2966   product_pd(intx, PreInflateSpin,                                          \
2967           "Number of times to spin wait before inflation")                  \
2968                                                                             \
2969   /* gc parameters */                                                       \
2970   product(uintx, InitialHeapSize, 0,                                        \
2971           "Initial heap size (in bytes); zero means use ergonomics")        \
2972                                                                             \
2973   product(uintx, MaxHeapSize, ScaleForWordSize(96*M),                       \
2974           "Maximum heap size (in bytes)")                                   \
2975                                                                             \
2976   product(uintx, OldSize, ScaleForWordSize(4*M),                            \
2977           "Initial tenured generation size (in bytes)")                     \
2978                                                                             \
2979   product(uintx, NewSize, ScaleForWordSize(1*M),                            \
2980           "Initial new generation size (in bytes)")                         \
2981                                                                             \
2982   product(uintx, MaxNewSize, max_uintx,                                     \
2983           "Maximum new generation size (in bytes), max_uintx means set "    \
2984           "ergonomically")                                                  \
2985                                                                             \
2986   product(uintx, PretenureSizeThreshold, 0,                                 \
2987           "Maximum size in bytes of objects allocated in DefNew "           \
2988           "generation; zero means no maximum")                              \
2989                                                                             \
2990   product(uintx, TLABSize, 0,                                               \
2991           "Starting TLAB size (in bytes); zero means set ergonomically")    \