Re: The joy of garbage collection
- From: "robbie.carlton@xxxxxxxxx" <robbie.carlton@xxxxxxxxx>
- Date: 29 Sep 2005 12:11:37 -0700
Thanks for the replies folks, there's definitely some things I can use
in there. I'm implementing it in c, which I should have made clearer,
so I can't rely on the native environment for garbage collection. And
yes, one of the objectives is to get an understanding of garbage
collection
The gc papers look good, I've been looking for something like that, but
there's a lot of extremely technical papers out there that assume much
prior knowledge. It's good to have a place to start.
Also, the free list is the part I was missing, and the various ideas
for implementing that are interesting. I especially like the bitmap
idea.
"I don't see how they could be on the heap
individually and unboxed, where would the mark bit go, how
could sweep know to leave them?"
Yes! This is what I still don't understand. Where do you put the
unboxed data, as it can't go on the heap. I think I could now implement
a very simple garbage collector if everything was boxed, but I'd like
strings, arrays and various c data structures as unboxed data. Does
this make sense?
.
- Follow-Ups:
- Re: The joy of garbage collection
- From: Pascal Bourguignon
- Re: The joy of garbage collection
- References:
- The joy of garbage collection
- From: robbie.carlton@xxxxxxxxx
- Re: The joy of garbage collection
- From: Ulrich Hobelmann
- The joy of garbage collection
- Prev by Date: Re: A simple interpreter
- Next by Date: Re: A simple interpreter
- Previous by thread: Re: The joy of garbage collection
- Next by thread: Re: The joy of garbage collection
- Index(es):
Relevant Pages
|
|