This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
On Tue, 18 Nov 2003, Steven Bosscher wrote:
> On Tuesday 18 November 2003 20:26, Daniel Berlin wrote:
> > > >be GCd/released when we leave SSA.
> > >
> > > Well, not only do you want to allocate them on pages together to avoid
> > > fragmentation, you probably also want to re-use them when doing the
> > > re-rewriting of specific variables after threading jumps.
> > The zone collector can do this, if you added a zone for them.
> Can you create zones dynamically??
Make create_zone non-static.
Then link the zone into the zone list somewhere (we could make a function
to do this), like so:
new_zone->next_zone = main_zone->next_zone;
main_zone->next_zone = new_zone;
You also need to change one thing in ggc_collect to make it walk the zone
list instead of explicitly specifying each zone to collect.
It's a net code removal to do so, anyway.
I'll work more on the zone collector soon, hopefully.
I need to find an x86-64 to fix the bootstrap problem.