diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-09 20:19:30 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-09 20:19:30 +0000 |
commit | 4cb2b0ddbbeeb80df6f8ce7fc37c0a6b1a348994 (patch) | |
tree | df6c93a853578b39eba773b6fd6680e05533dc64 /gcc/doc/invoke.texi | |
parent | a8046f6028a5b566796bea8409ceea78b0c9c5f2 (diff) | |
download | gcc-4cb2b0ddbbeeb80df6f8ce7fc37c0a6b1a348994.tar.gz |
* ggc-common.c (ggc_rlimit_bound): Don't check RSS limit.
Check DATA limit only if there's no AS limit. Ignore insanely
low DATA limits.
(ggc_min_heapsize_heuristic): Don't divide AS or RSS limits by 8,
but take care that the AS limit isn't overrun.
* doc/invoke.texi: Update documentation of min-heapsize parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85722 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r-- | gcc/doc/invoke.texi | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0018fc60183..bf41ffb426a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -5310,7 +5310,7 @@ generation. The default is 30% + 70% * (RAM/1GB) with an upper bound of 100% when RAM >= 1GB. If @code{getrlimit} is available, the notion of "RAM" is -the smallest of actual RAM, RLIMIT_RSS, RLIMIT_DATA and RLIMIT_AS. If +the smallest of actual RAM and RLIMIT_DATA or RLIMIT_AS. If GCC is not able to calculate RAM on a particular platform, the lower bound of 30% is used. Setting this parameter and @option{ggc-min-heapsize} to zero causes a full collection to occur at @@ -5325,14 +5325,14 @@ by @option{ggc-min-expand}% beyond @option{ggc-min-heapsize}. Again, tuning this may improve compilation speed, and has no effect on code generation. -The default is RAM/8, with a lower bound of 4096 (four megabytes) and an -upper bound of 131072 (128 megabytes). If @code{getrlimit} is -available, the notion of "RAM" is the smallest of actual RAM, -RLIMIT_RSS, RLIMIT_DATA and RLIMIT_AS. If GCC is not able to calculate -RAM on a particular platform, the lower bound is used. Setting this -parameter very large effectively disables garbage collection. Setting -this parameter and @option{ggc-min-expand} to zero causes a full -collection to occur at every opportunity. +The default is the smaller of RAM/8, RLIMIT_RSS, or a limit which +tries to ensure that RLIMIT_DATA or RLIMIT_AS are not exceeded, but +with a lower bound of 4096 (four megabytes) and an upper bound of +131072 (128 megabytes). If GCC is not able to calculate RAM on a +particular platform, the lower bound is used. Setting this parameter +very large effectively disables garbage collection. Setting this +parameter and @option{ggc-min-expand} to zero causes a full collection +to occur at every opportunity. @item max-reload-search-insns The maximum number of instruction reload should look backward for equivalent |