This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: "Bag of pages" algorithm?
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Domagoj D <domagoj at engineer dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 14 Dec 2005 15:39:17 -0500
- Subject: Re: "Bag of pages" algorithm?
- References: <20051214202106.AE67283C0F@ws1-1.us4.outblaze.com>
On Wed, 2005-12-14 at 15:21 -0500, Domagoj D wrote:
> Hi Daniel,
>
> > > Could anyone recommend a good reference (paper/book/webpage/...)
> > > about the "bag of pages" GC algorithm used in GCC?
> > There is none, AFAIK.
>
> Argh, how am I supposed to figure out the arcane lore of GCC programmers than? :-)
What exactly are you trying to do?
Replace it?
>
> > > Also, is there
> > > any document about the specifics of GCC implementation (besides
> > > GCC Internals document)?
> > Nope.
>
> I can just hope that someone actually knows a good reference to recommend
> or is willing to write "GCC GC for beginners" :-) in a page or two...
I wrote on of the two gc implementations that is there (ggc-zone).
There is nothing magic or special about them.
They should be fairly easy to understand for anyone who understands the
basics of garbage collection.
>
> Thx.
> Domagoj
>