2018 \
2019 product(bool, ZeroTLAB, false, \
2020 "Zero out the newly created TLAB") \
2021 \
2022 product(bool, FastTLABRefill, true, \
2023 "Use fast TLAB refill code") \
2024 \
2025 product(bool, TLABStats, true, \
2026 "Provide more detailed and expensive TLAB statistics.") \
2027 \
2028 product_pd(bool, NeverActAsServerClassMachine, \
2029 "Never act like a server-class machine") \
2030 \
2031 product(bool, AlwaysActAsServerClassMachine, false, \
2032 "Always act like a server-class machine") \
2033 \
2034 product_pd(uint64_t, MaxRAM, \
2035 "Real memory size (in bytes) used to set maximum heap size") \
2036 range(0, 0XFFFFFFFFFFFFFFFF) \
2037 \
2038 product(size_t, ErgoHeapSizeLimit, 0, \
2039 "Maximum ergonomically set heap size (in bytes); zero means use " \
2040 "MaxRAM * MaxRAMPercentage / 100") \
2041 range(0, max_uintx) \
2042 \
2043 experimental(bool, UseCGroupMemoryLimitForHeap, false, \
2044 "Use CGroup memory limit as physical memory limit for heap " \
2045 "sizing") \
2046 \
2047 product(uintx, MaxRAMFraction, 4, \
2048 "Maximum fraction (1/n) of real memory used for maximum heap " \
2049 "size. " \
2050 "Deprecated, use MaxRAMPercentage instead") \
2051 range(1, max_uintx) \
2052 \
2053 product(uintx, MinRAMFraction, 2, \
2054 "Minimum fraction (1/n) of real memory used for maximum heap " \
2055 "size on systems with small physical memory size. " \
2056 "Deprecated, use MinRAMPercentage instead") \
2057 range(1, max_uintx) \
2058 \
2059 product(uintx, InitialRAMFraction, 64, \
2060 "Fraction (1/n) of real memory used for initial heap size. " \
2061 "Deprecated, use InitialRAMPercentage instead") \
2062 range(1, max_uintx) \
2063 \
2064 product(double, MaxRAMPercentage, 25.0, \
2065 "Maximum percentage of real memory used for maximum heap size") \
2066 range(0.0, 100.0) \
2067 \
2068 product(double, MinRAMPercentage, 50.0, \
2069 "Minimum percentage of real memory used for maximum heap" \
2070 "size on systems with small physical memory size") \
2071 range(0.0, 100.0) \
2072 \
2073 product(double, InitialRAMPercentage, 1.5625, \
2074 "Percentage of real memory used for initial heap size") \
2075 range(0.0, 100.0) \
2076 \
2077 develop(uintx, MaxVirtMemFraction, 2, \
2078 "Maximum fraction (1/n) of virtual memory used for ergonomically "\
2079 "determining maximum heap size") \
2080 \
2081 product(bool, UseAdaptiveSizePolicy, true, \
2082 "Use adaptive generation sizing policies") \
2083 \
2084 product(bool, UsePSAdaptiveSurvivorSizePolicy, true, \
2085 "Use adaptive survivor sizing policies") \
2086 \
2087 product(bool, UseAdaptiveGenerationSizePolicyAtMinorCollection, true, \
2088 "Use adaptive young-old sizing policies at minor collections") \
2089 \
2090 product(bool, UseAdaptiveGenerationSizePolicyAtMajorCollection, true, \
2091 "Use adaptive young-old sizing policies at major collections") \
2092 \
2093 product(bool, UseAdaptiveSizePolicyWithSystemGC, false, \
2094 "Include statistics from System.gc() for adaptive size policy") \
2095 \
|
2018 \
2019 product(bool, ZeroTLAB, false, \
2020 "Zero out the newly created TLAB") \
2021 \
2022 product(bool, FastTLABRefill, true, \
2023 "Use fast TLAB refill code") \
2024 \
2025 product(bool, TLABStats, true, \
2026 "Provide more detailed and expensive TLAB statistics.") \
2027 \
2028 product_pd(bool, NeverActAsServerClassMachine, \
2029 "Never act like a server-class machine") \
2030 \
2031 product(bool, AlwaysActAsServerClassMachine, false, \
2032 "Always act like a server-class machine") \
2033 \
2034 product_pd(uint64_t, MaxRAM, \
2035 "Real memory size (in bytes) used to set maximum heap size") \
2036 range(0, 0XFFFFFFFFFFFFFFFF) \
2037 \
2038 product(bool, AggressiveHeap, false, \
2039 "Optimize heap options for long-running memory intensive apps") \
2040 \
2041 product(size_t, ErgoHeapSizeLimit, 0, \
2042 "Maximum ergonomically set heap size (in bytes); zero means use " \
2043 "MaxRAM * MaxRAMPercentage / 100") \
2044 range(0, max_uintx) \
2045 \
2046 experimental(bool, UseCGroupMemoryLimitForHeap, false, \
2047 "Use CGroup memory limit as physical memory limit for heap " \
2048 "sizing" \
2049 "Deprecated, replaced by container support") \
2050 \
2051 product(uintx, MaxRAMFraction, 4, \
2052 "Maximum fraction (1/n) of real memory used for maximum heap " \
2053 "size. " \
2054 "Deprecated, use MaxRAMPercentage instead") \
2055 range(1, max_uintx) \
2056 \
2057 product(uintx, MinRAMFraction, 2, \
2058 "Minimum fraction (1/n) of real memory used for maximum heap " \
2059 "size on systems with small physical memory size. " \
2060 "Deprecated, use MinRAMPercentage instead") \
2061 range(1, max_uintx) \
2062 \
2063 product(uintx, InitialRAMFraction, 64, \
2064 "Fraction (1/n) of real memory used for initial heap size. " \
2065 "Deprecated, use InitialRAMPercentage instead") \
2066 range(1, max_uintx) \
2067 \
2068 product(double, MaxRAMPercentage, 25.0, \
2069 "Maximum percentage of real memory used for maximum heap size") \
2070 range(0.0, 100.0) \
2071 \
2072 product(double, MinRAMPercentage, 50.0, \
2073 "Minimum percentage of real memory used for maximum heap" \
2074 "size on systems with small physical memory size") \
2075 range(0.0, 100.0) \
2076 \
2077 product(double, InitialRAMPercentage, 1.5625, \
2078 "Percentage of real memory used for initial heap size") \
2079 range(0.0, 100.0) \
2080 \
2081 product(int, ActiveProcessorCount, -1, \
2082 "Specify the CPU count the VM should use and report as active") \
2083 \
2084 develop(uintx, MaxVirtMemFraction, 2, \
2085 "Maximum fraction (1/n) of virtual memory used for ergonomically "\
2086 "determining maximum heap size") \
2087 \
2088 product(bool, UseAdaptiveSizePolicy, true, \
2089 "Use adaptive generation sizing policies") \
2090 \
2091 product(bool, UsePSAdaptiveSurvivorSizePolicy, true, \
2092 "Use adaptive survivor sizing policies") \
2093 \
2094 product(bool, UseAdaptiveGenerationSizePolicyAtMinorCollection, true, \
2095 "Use adaptive young-old sizing policies at minor collections") \
2096 \
2097 product(bool, UseAdaptiveGenerationSizePolicyAtMajorCollection, true, \
2098 "Use adaptive young-old sizing policies at major collections") \
2099 \
2100 product(bool, UseAdaptiveSizePolicyWithSystemGC, false, \
2101 "Include statistics from System.gc() for adaptive size policy") \
2102 \
|