gcc/gcc ChangeLog ggc-zone.c

steven@gcc.gnu.org steven@gcc.gnu.org
Sat Dec 13 01:06:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	steven@gcc.gnu.org	2003-12-13 01:06:13

Modified files:
	gcc            : ChangeLog ggc-zone.c 

Log message:
	* ggc-zone.c (struct alloc_zone): Don't pre-declare, it already
	comes in with ggc.h.  Add a new bool field `dead'.
	(destroy_ggc_zone): Don't destroy a zone at once.  Instead, only
	set the `dead' flag for the dead zone.  Wrap a sanity check in
	ENABLE_CHECKING.
	(ggc_collect_1): Always mark and sweep if a zone has the `dead'
	flag set.
	(ggc_collect): Free dead zones after collecting.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1991&r2=2.1992
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ggc-zone.c.diff?cvsroot=gcc&r1=2.7&r2=2.8



More information about the Gcc-cvs mailing list