src/share/vm/runtime/globals.hpp

changeset 9348
cb9634ab2906
parent 9289
427b2fb1944f
child 9417
65409bcab2ad
     1.1 --- a/src/share/vm/runtime/globals.hpp	Fri Jul 06 07:33:25 2018 -0700
     1.2 +++ b/src/share/vm/runtime/globals.hpp	Fri Jul 06 18:50:13 2018 +0000
     1.3 @@ -2068,13 +2068,23 @@
     1.4    product_pd(uint64_t, MaxRAM,                                              \
     1.5            "Real memory size (in bytes) used to set maximum heap size")      \
     1.6                                                                              \
     1.7 +  product(bool, AggressiveHeap, false,                                      \
     1.8 +          "Optimize heap options for long-running memory intensive apps")   \
     1.9 +                                                                            \
    1.10    product(uintx, ErgoHeapSizeLimit, 0,                                      \
    1.11            "Maximum ergonomically set heap size (in bytes); zero means use " \
    1.12 -          "MaxRAM / MaxRAMFraction")                                        \
    1.13 +          "MaxRAM * MaxRAMPercentage / 100")                                \
    1.14                                                                              \
    1.15    experimental(bool, UseCGroupMemoryLimitForHeap, false,                    \
    1.16            "Use CGroup memory limit as physical memory limit for heap "      \
    1.17 -          "sizing")                                                         \
    1.18 +          "sizing"                                                          \
    1.19 +          "Deprecated, replaced by container support")                      \
    1.20 +                                                                            \
    1.21 +  diagnostic(bool, PrintContainerInfo, false,                               \
    1.22 +          "Print container related information")                            \
    1.23 +                                                                            \
    1.24 +  diagnostic(bool, PrintActiveCpus, false,                                  \
    1.25 +           "Print the number of CPUs detected in os::active_processor_count") \
    1.26                                                                              \
    1.27    product(uintx, MaxRAMFraction, 4,                                         \
    1.28            "Maximum fraction (1/n) of real memory used for maximum heap "    \
    1.29 @@ -2091,6 +2101,19 @@
    1.30    product(uintx, InitialRAMFraction, 64,                                    \
    1.31            "Fraction (1/n) of real memory used for initial heap size")       \
    1.32                                                                              \
    1.33 +  product(double, MaxRAMPercentage, 25.0,                                   \
    1.34 +          "Maximum percentage of real memory used for maximum heap size")   \
    1.35 +                                                                            \
    1.36 +  product(double, MinRAMPercentage, 50.0,                                   \
    1.37 +          "Minimum percentage of real memory used for maximum heap"         \
    1.38 +          "size on systems with small physical memory size")                \
    1.39 +                                                                            \
    1.40 +  product(double, InitialRAMPercentage, 1.5625,                             \
    1.41 +          "Percentage of real memory used for initial heap size")           \
    1.42 +                                                                            \
    1.43 +  product(intx, ActiveProcessorCount, -1,                                   \
    1.44 +          "Specify the CPU count the VM should use and report as active")   \
    1.45 +                                                                            \
    1.46    develop(uintx, MaxVirtMemFraction, 2,                                     \
    1.47            "Maximum fraction (1/n) of virtual memory used for ergonomically "\
    1.48            "determining maximum heap size")                                  \

mercurial