comparison src/share/vm/runtime/globals.hpp @ 8854:754c24457b20

7112912: Message "Error occurred during initialization of VM" on boxes with lots of RAM Summary: Ergonomics now also takes available virtual memory into account when deciding for a heap size. The helper method to determine the maximum allocatable memory block now uses the appropriate OS specific calls to retrieve available virtual memory for the java process. In 32 bit environments this method now also searches for the maximum actually reservable amount of memory. Merge previously separate implementations for Linux/BSD/Solaris into a single method. Reviewed-by: jmasa, tamao
author tschatzl
date Wed, 27 Mar 2013 19:21:18 +0100
parents 2e093b564241
children 15c04fe93c18
comparison
equal deleted inserted replaced
8853:2e093b564241 8854:754c24457b20
1960 "size on systems with small physical memory size") \ 1960 "size on systems with small physical memory size") \
1961 \ 1961 \
1962 product(uintx, InitialRAMFraction, 64, \ 1962 product(uintx, InitialRAMFraction, 64, \
1963 "Fraction (1/n) of real memory used for initial heap size") \ 1963 "Fraction (1/n) of real memory used for initial heap size") \
1964 \ 1964 \
1965 develop(uintx, MaxVirtMemFraction, 2, \
1966 "Maximum fraction (1/n) of virtual memory used for ergonomically" \
1967 "determining maximum heap size") \
1968 \
1965 product(bool, UseAutoGCSelectPolicy, false, \ 1969 product(bool, UseAutoGCSelectPolicy, false, \
1966 "Use automatic collection selection policy") \ 1970 "Use automatic collection selection policy") \
1967 \ 1971 \
1968 product(uintx, AutoGCSelectPauseMillis, 5000, \ 1972 product(uintx, AutoGCSelectPauseMillis, 5000, \
1969 "Automatic GC selection pause threshhold in ms") \ 1973 "Automatic GC selection pause threshhold in ms") \