2023 "Zero out the newly created TLAB") \ 2024 \ 2025 product(bool, FastTLABRefill, true, \ 2026 "Use fast TLAB refill code") \ 2027 \ 2028 product(bool, TLABStats, true, \ 2029 "Provide more detailed and expensive TLAB statistics.") \ 2030 \ 2031 product_pd(bool, NeverActAsServerClassMachine, \ 2032 "Never act like a server-class machine") \ 2033 \ 2034 product(bool, AlwaysActAsServerClassMachine, false, \ 2035 "Always act like a server-class machine") \ 2036 \ 2037 product_pd(uint64_t, MaxRAM, \ 2038 "Real memory size (in bytes) used to set maximum heap size") \ 2039 range(0, 0XFFFFFFFFFFFFFFFF) \ 2040 \ 2041 product(size_t, ErgoHeapSizeLimit, 0, \ 2042 "Maximum ergonomically set heap size (in bytes); zero means use " \ 2043 "MaxRAM / MaxRAMFraction") \ 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 \ 2050 product(uintx, MaxRAMFraction, 4, \ 2051 "Maximum fraction (1/n) of real memory used for maximum heap " \ 2052 "size") \ 2053 range(1, max_uintx) \ 2054 \ 2055 product(uintx, MinRAMFraction, 2, \ 2056 "Minimum fraction (1/n) of real memory used for maximum heap " \ 2057 "size on systems with small physical memory size") \ 2058 range(1, max_uintx) \ 2059 \ 2060 product(uintx, InitialRAMFraction, 64, \ 2061 "Fraction (1/n) of real memory used for initial heap size") \ 2062 range(1, max_uintx) \ 2063 \ 2064 develop(uintx, MaxVirtMemFraction, 2, \ 2065 "Maximum fraction (1/n) of virtual memory used for ergonomically "\ 2066 "determining maximum heap size") \ 2067 \ 2068 product(bool, UseAdaptiveSizePolicy, true, \ 2069 "Use adaptive generation sizing policies") \ 2070 \ 2071 product(bool, UsePSAdaptiveSurvivorSizePolicy, true, \ 2072 "Use adaptive survivor sizing policies") \ 2073 \ 2074 product(bool, UseAdaptiveGenerationSizePolicyAtMinorCollection, true, \ 2075 "Use adaptive young-old sizing policies at minor collections") \ 2076 \ 2077 product(bool, UseAdaptiveGenerationSizePolicyAtMajorCollection, true, \ 2078 "Use adaptive young-old sizing policies at major collections") \ 2079 \ 2080 product(bool, UseAdaptiveSizePolicyWithSystemGC, false, \ 2081 "Include statistics from System.gc() for adaptive size policy") \ 2082 \ | 2023 "Zero out the newly created TLAB") \ 2024 \ 2025 product(bool, FastTLABRefill, true, \ 2026 "Use fast TLAB refill code") \ 2027 \ 2028 product(bool, TLABStats, true, \ 2029 "Provide more detailed and expensive TLAB statistics.") \ 2030 \ 2031 product_pd(bool, NeverActAsServerClassMachine, \ 2032 "Never act like a server-class machine") \ 2033 \ 2034 product(bool, AlwaysActAsServerClassMachine, false, \ 2035 "Always act like a server-class machine") \ 2036 \ 2037 product_pd(uint64_t, MaxRAM, \ 2038 "Real memory size (in bytes) used to set maximum heap size") \ 2039 range(0, 0XFFFFFFFFFFFFFFFF) \ 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 \ 2050 product(uintx, MaxRAMFraction, 4, \ 2051 "Maximum fraction (1/n) of real memory used for maximum heap " \ 2052 "size. " \ 2053 "Deprecated, use MaxRAMPercentage instead") \ 2054 range(1, max_uintx) \ 2055 \ 2056 product(uintx, MinRAMFraction, 2, \ 2057 "Minimum fraction (1/n) of real memory used for maximum heap " \ 2058 "size on systems with small physical memory size. " \ 2059 "Deprecated, use MinRAMPercentage instead") \ 2060 range(1, max_uintx) \ 2061 \ 2062 product(uintx, InitialRAMFraction, 64, \ 2063 "Fraction (1/n) of real memory used for initial heap size. " \ 2064 "Deprecated, use InitialRAMPercentage instead") \ 2065 range(1, max_uintx) \ 2066 \ 2067 product(double, MaxRAMPercentage, 25.0, \ 2068 "Maximum percentage of real memory used for maximum heap size") \ 2069 range(0.0, 100.0) \ 2070 \ 2071 product(double, MinRAMPercentage, 50.0, \ 2072 "Minimum percentage of real memory used for maximum heap" \ 2073 "size on systems with small physical memory size") \ 2074 range(0.0, 100.0) \ 2075 \ 2076 product(double, InitialRAMPercentage, 1.5625, \ 2077 "Percentage of real memory used for initial heap size") \ 2078 range(0.0, 100.0) \ 2079 \ 2080 develop(uintx, MaxVirtMemFraction, 2, \ 2081 "Maximum fraction (1/n) of virtual memory used for ergonomically "\ 2082 "determining maximum heap size") \ 2083 \ 2084 product(bool, UseAdaptiveSizePolicy, true, \ 2085 "Use adaptive generation sizing policies") \ 2086 \ 2087 product(bool, UsePSAdaptiveSurvivorSizePolicy, true, \ 2088 "Use adaptive survivor sizing policies") \ 2089 \ 2090 product(bool, UseAdaptiveGenerationSizePolicyAtMinorCollection, true, \ 2091 "Use adaptive young-old sizing policies at minor collections") \ 2092 \ 2093 product(bool, UseAdaptiveGenerationSizePolicyAtMajorCollection, true, \ 2094 "Use adaptive young-old sizing policies at major collections") \ 2095 \ 2096 product(bool, UseAdaptiveSizePolicyWithSystemGC, false, \ 2097 "Include statistics from System.gc() for adaptive size policy") \ 2098 \ |