Re: Re: my garbage collector sucks

"Mark Hahn" <[email protected]>
Newsgroups gmane.comp.lang.prothon.user
Message-ID <[email protected]>
"Mark Hahn" <[email protected]> wrote

> "Greg Ewing" <[email protected]> wrote
> > Even with object locking, I don't see how you can get away with not
> > stopping the world while you're doing a mark pass.  What ensures that
> > the marker doesn't miss anything if links can be changing while it's
> > running?
>
> Duh!  I forgot that I already fixed this problem.  My write lock routine
> automatically marks any modified object.  This means than any object moved
> or touched in any way during the mark phase of garbage collection is not
> missed by a mark operation.  This makes sense since any object being
touched
> is obviously reachable anyway.

Now I see where this may not be sufficient.  Instead of posting a message
every 5 minutes as I think about this I'll have to study this in depth.  As
I said before, thanks for the heads up.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.