diff options
author | Geoffrey Keating <geoffk@apple.com> | 2002-11-15 21:27:48 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2002-11-15 21:27:48 +0000 |
commit | 737c38d12a975ef81963eb60abf05f73683c308e (patch) | |
tree | a74f36fe5dd5f90b3066a9ef37342e8a9a748ea0 /gcc/params.def | |
parent | 423b950b13cc5cabc21a2164746e14a1117495ce (diff) | |
download | gcc-737c38d12a975ef81963eb60abf05f73683c308e.zip gcc-737c38d12a975ef81963eb60abf05f73683c308e.tar.gz gcc-737c38d12a975ef81963eb60abf05f73683c308e.tar.bz2 |
params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
* params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
* doc/invoke.texi: Correct description of what needs to be done to
force collection at every ggc_collect call.
From-SVN: r59143
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/params.def b/gcc/params.def index f654690..d961189 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -1,5 +1,5 @@ /* params.def - Run-time parameters. - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2002 Free Software Foundation, Inc. Written by Mark Mitchell <mark@codesourcery.com>. This file is part of GCC. @@ -193,8 +193,10 @@ this threshold (in percents). Used when profile feedback is not available", #ifdef ENABLE_GC_ALWAYS_COLLECT # define GGC_MIN_EXPAND_DEFAULT 0 +# define GGC_MIN_HEAPSIZE_DEFAULT 0 #else # define GGC_MIN_EXPAND_DEFAULT 30 +# define GGC_MIN_HEAPSIZE_DEFAULT 4096 #endif DEFPARAM(GGC_MIN_EXPAND, @@ -203,12 +205,13 @@ DEFPARAM(GGC_MIN_EXPAND, a percentage of the total size of the heap.", GGC_MIN_EXPAND_DEFAULT) -#undef GGC_MIN_EXPAND_DEFAULT - DEFPARAM(GGC_MIN_HEAPSIZE, "ggc-min-heapsize", "Minimum heap size before we start collecting garbage, in kilobytes.", - 4096) + GGC_MIN_HEAPSIZE_DEFAULT) + +#undef GGC_MIN_EXPAND_DEFAULT +#undef GGC_MIN_HEAPSIZE_DEFAULT /* Local variables: |