* params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Nov 2002 00:27:31 +0000 (00:27 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Nov 2002 00:27:31 +0000 (00:27 +0000)
commit2a3edec56bee49d4a83483777cee1f99d73112f2
tree81c813b5d55e959c7d6c49278a2c5c9c344cf7d5
parent141c6b3e14e2778f6f9fe6c1974084f4e15f8688
* params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
* doc/invoke.texi: Document them.

* ggc-page.c: Include params.h.  Remove definitions of
GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED.  Replace
GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
(init_gcc): Don't set G.allocated_last_gc here.
(ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
perform collection.
* ggc-simple.c: Similarly.
* Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59034 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/doc/invoke.texi
gcc/ggc-page.c
gcc/ggc-simple.c
gcc/params.def