This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix zone collector thinko on my part


On Saturday 13 December 2003 01:51, you wrote:
> 	* 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.

Approved off-list by Dan, and commited.

Gr.
Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]