RE: sgml-parse and GC

Subject: RE: sgml-parse and GC
From: Avi Kivity <Avi@xxxxxxxxxxxxx>
Date: Fri, 23 Jul 1999 10:06:11 +0300
On Thursday, July 22, 1999 22:28, Peter Nilsson
[SMTP:pnidv96@xxxxxxxxxxxxxx] wrote:
> On Thu, 22 Jul 1999, Avi Kivity wrote:
> 
> > On Thursday, July 22, 1999 18:07, Peter Nilsson
> > [SMTP:pnidv96@xxxxxxxxxxxxxx] wrote:
> > > 
> > > Hopefully, the reference counting mechanism will keep the nodes in
> > > memory
> > > as long as necessary, but I'm not sure.
> > 
> > It will, and thus defeat your intent.
> > 
> The reason I wasn't sure was that there certainly is cycles in the grove
> and I haven't check how this problem is solved. (Reference counting
> doesn't work with circular links, but this is a wellknown fact.) However
> this is probably solved; I can check out how it's done myself:-)

A tracing garbage collector is used, which can remove cycles. I implicitly
understood you to mean the garbage collector when you talked about reference
counting (see Subject: line).




 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread