2034 \ |
2034 \ |
2035 product_pd(uint64_t, MaxRAM, \ |
2035 product_pd(uint64_t, MaxRAM, \ |
2036 "Real memory size (in bytes) used to set maximum heap size") \ |
2036 "Real memory size (in bytes) used to set maximum heap size") \ |
2037 range(0, 0XFFFFFFFFFFFFFFFF) \ |
2037 range(0, 0XFFFFFFFFFFFFFFFF) \ |
2038 \ |
2038 \ |
|
2039 product(bool, AggressiveHeap, false, \ |
|
2040 "Optimize heap options for long-running memory intensive apps") \ |
|
2041 \ |
2039 product(size_t, ErgoHeapSizeLimit, 0, \ |
2042 product(size_t, ErgoHeapSizeLimit, 0, \ |
2040 "Maximum ergonomically set heap size (in bytes); zero means use " \ |
2043 "Maximum ergonomically set heap size (in bytes); zero means use " \ |
2041 "MaxRAM * MaxRAMPercentage / 100") \ |
2044 "MaxRAM * MaxRAMPercentage / 100") \ |
2042 range(0, max_uintx) \ |
2045 range(0, max_uintx) \ |
2043 \ |
2046 \ |
2044 experimental(bool, UseCGroupMemoryLimitForHeap, false, \ |
2047 experimental(bool, UseCGroupMemoryLimitForHeap, false, \ |
2045 "Use CGroup memory limit as physical memory limit for heap " \ |
2048 "Use CGroup memory limit as physical memory limit for heap " \ |
2046 "sizing") \ |
2049 "sizing" \ |
|
2050 "Deprecated, replaced by container support") \ |
2047 \ |
2051 \ |
2048 product(uintx, MaxRAMFraction, 4, \ |
2052 product(uintx, MaxRAMFraction, 4, \ |
2049 "Maximum fraction (1/n) of real memory used for maximum heap " \ |
2053 "Maximum fraction (1/n) of real memory used for maximum heap " \ |
2050 "size. " \ |
2054 "size. " \ |
2051 "Deprecated, use MaxRAMPercentage instead") \ |
2055 "Deprecated, use MaxRAMPercentage instead") \ |
2072 range(0.0, 100.0) \ |
2076 range(0.0, 100.0) \ |
2073 \ |
2077 \ |
2074 product(double, InitialRAMPercentage, 1.5625, \ |
2078 product(double, InitialRAMPercentage, 1.5625, \ |
2075 "Percentage of real memory used for initial heap size") \ |
2079 "Percentage of real memory used for initial heap size") \ |
2076 range(0.0, 100.0) \ |
2080 range(0.0, 100.0) \ |
|
2081 \ |
|
2082 product(int, ActiveProcessorCount, -1, \ |
|
2083 "Specify the CPU count the VM should use and report as active") \ |
2077 \ |
2084 \ |
2078 develop(uintx, MaxVirtMemFraction, 2, \ |
2085 develop(uintx, MaxVirtMemFraction, 2, \ |
2079 "Maximum fraction (1/n) of virtual memory used for ergonomically "\ |
2086 "Maximum fraction (1/n) of virtual memory used for ergonomically "\ |
2080 "determining maximum heap size") \ |
2087 "determining maximum heap size") \ |
2081 \ |
2088 \ |