This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: law at redhat dot com
- Cc: Andrew MacLeod <amacleod at redhat dot com>, Steven Bosscher <s dot bosscher at student dot tudelft dot nl>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 18 Nov 2003 21:03:23 -0500 (EST)
- Subject: Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- References: <200311182340.hAINeWsA003448@speedy.slc.redhat.com>
> Well the fundamental problem is the garbage collector collects pages,
> not the underlying objects on those pages.
Which is something i've been working on.
The zone collector doesn't collect pages, actually, it has a per-object
header it uses for marking and whatnot.
One of the things on the bottom of my todo list is to finish the type
coding of objects so that we just need the root addresses, and can collect
> So to do what you want, you need to ensure that the PHI nodes (or SSA_NAMEs)
> are all allocated on the same page, then you release the page. The thing
> to watch out for is that we don't end up effectively recreating obstacks
> which had zone-like qualities, but sucked in more ways than I care to
> I believe this is the kind of issue the zone allocator is supposed to
> help with. I haven't looked at it though.