2066 "Always act like a server-class machine") \ |
2066 "Always act like a server-class machine") \ |
2067 \ |
2067 \ |
2068 product_pd(uint64_t, MaxRAM, \ |
2068 product_pd(uint64_t, MaxRAM, \ |
2069 "Real memory size (in bytes) used to set maximum heap size") \ |
2069 "Real memory size (in bytes) used to set maximum heap size") \ |
2070 \ |
2070 \ |
|
2071 product(bool, AggressiveHeap, false, \ |
|
2072 "Optimize heap options for long-running memory intensive apps") \ |
|
2073 \ |
2071 product(uintx, ErgoHeapSizeLimit, 0, \ |
2074 product(uintx, ErgoHeapSizeLimit, 0, \ |
2072 "Maximum ergonomically set heap size (in bytes); zero means use " \ |
2075 "Maximum ergonomically set heap size (in bytes); zero means use " \ |
2073 "MaxRAM / MaxRAMFraction") \ |
2076 "MaxRAM * MaxRAMPercentage / 100") \ |
2074 \ |
2077 \ |
2075 experimental(bool, UseCGroupMemoryLimitForHeap, false, \ |
2078 experimental(bool, UseCGroupMemoryLimitForHeap, false, \ |
2076 "Use CGroup memory limit as physical memory limit for heap " \ |
2079 "Use CGroup memory limit as physical memory limit for heap " \ |
2077 "sizing") \ |
2080 "sizing" \ |
|
2081 "Deprecated, replaced by container support") \ |
|
2082 \ |
|
2083 diagnostic(bool, PrintContainerInfo, false, \ |
|
2084 "Print container related information") \ |
|
2085 \ |
|
2086 diagnostic(bool, PrintActiveCpus, false, \ |
|
2087 "Print the number of CPUs detected in os::active_processor_count") \ |
2078 \ |
2088 \ |
2079 product(uintx, MaxRAMFraction, 4, \ |
2089 product(uintx, MaxRAMFraction, 4, \ |
2080 "Maximum fraction (1/n) of real memory used for maximum heap " \ |
2090 "Maximum fraction (1/n) of real memory used for maximum heap " \ |
2081 "size") \ |
2091 "size") \ |
2082 \ |
2092 \ |
2088 "Minimum fraction (1/n) of real memory used for maxmimum heap " \ |
2098 "Minimum fraction (1/n) of real memory used for maxmimum heap " \ |
2089 "size on systems with small physical memory size") \ |
2099 "size on systems with small physical memory size") \ |
2090 \ |
2100 \ |
2091 product(uintx, InitialRAMFraction, 64, \ |
2101 product(uintx, InitialRAMFraction, 64, \ |
2092 "Fraction (1/n) of real memory used for initial heap size") \ |
2102 "Fraction (1/n) of real memory used for initial heap size") \ |
|
2103 \ |
|
2104 product(double, MaxRAMPercentage, 25.0, \ |
|
2105 "Maximum percentage of real memory used for maximum heap size") \ |
|
2106 \ |
|
2107 product(double, MinRAMPercentage, 50.0, \ |
|
2108 "Minimum percentage of real memory used for maximum heap" \ |
|
2109 "size on systems with small physical memory size") \ |
|
2110 \ |
|
2111 product(double, InitialRAMPercentage, 1.5625, \ |
|
2112 "Percentage of real memory used for initial heap size") \ |
|
2113 \ |
|
2114 product(intx, ActiveProcessorCount, -1, \ |
|
2115 "Specify the CPU count the VM should use and report as active") \ |
2093 \ |
2116 \ |
2094 develop(uintx, MaxVirtMemFraction, 2, \ |
2117 develop(uintx, MaxVirtMemFraction, 2, \ |
2095 "Maximum fraction (1/n) of virtual memory used for ergonomically "\ |
2118 "Maximum fraction (1/n) of virtual memory used for ergonomically "\ |
2096 "determining maximum heap size") \ |
2119 "determining maximum heap size") \ |
2097 \ |
2120 \ |