Re: how to generate code for (a,b):=(b,a)

fjh@murlibobo.cs.mu.OZ.AU (Fergus Henderson)
30 May 1997 23:06:52 -0400

          From comp.compilers

Related articles
[15 earlier articles]
Re: how to generate code for (a,b):=(b,a) boehm@mti.mti.sgi.com (Hans-Juergen Boehm) (1997-05-17)
Re: how to generate code for (a,b):=(b,a) boehm@mti.mti.sgi.com (Hans-Juergen Boehm) (1997-05-17)
Re: how to generate code for (a,b):=(b,a) Dave@occl-cam.demon.co.uk (Dave Lloyd) (1997-05-22)
Re: how to generate code for (a,b):=(b,a) Dave@occl-cam.demon.co.uk (Dave Lloyd) (1997-05-22)
Re: how to generate code for (a,b):=(b,a) boehm@mti.mti.sgi.com (Hans-Juergen Boehm) (1997-05-25)
Re: how to generate code for (a,b):=(b,a) Dave@occl-cam.demon.co.uk (Dave Lloyd) (1997-05-27)
Re: how to generate code for (a,b):=(b,a) fjh@murlibobo.cs.mu.OZ.AU (1997-05-30)
Re: how to generate code for (a,b):=(b,a) boehm@mti.mti.sgi.com (Hans-Juergen Boehm) (1997-05-30)
Re: how to generate code for (a,b):=(b,a) Dave@occl-cam.demon.co.uk (Dave Lloyd) (1997-06-11)
conservative GC (was Re: how to generate code for (a,b):=(b,a)) boehm@mti.mti.sgi.com (Hans-Juergen Boehm) (1997-06-13)
| List of all articles for this month |

From: fjh@murlibobo.cs.mu.OZ.AU (Fergus Henderson)
Newsgroups: comp.compilers
Date: 30 May 1997 23:06:52 -0400
Organization: Comp Sci, University of Melbourne
References: 97-05-058 97-05-129 97-05-148 97-05-262 97-05-272 97-05-300
Keywords: storage, C, GC

Dave Lloyd <Dave@occl-cam.demon.co.uk> writes:


>Hans-Juergen Boehm <boehm@mti.mti.sgi.com> wrote:
>> This doesn't make much sense to me:
>>
>> 1) Most conservative GCs are mark-and-sweep GCs.
>
>I think we differ in our terminology.


Boehm's terminology is much better, IMHO. If a conservative GC has a
mark phase and a sweep phase, just like a non-conservative
mark-and-sweep GC, then I think it makes sense to call it a
conservative mark-and-sweep GC.


> While a conservative GC works in a similar way to mark-and-sweep,
> you do not have a guaranteed set of top-level pointers as you do in
> Lisp, Algol, Fortran.


Sure you do. This guaranteed set of roots consists (normally) of the
registers, the stack, and the global data. Of course, each element of
this set is not guaranteed to be a pointer, but that's why you call it
"conservative".


--
Fergus Henderson <fjh@cs.mu.oz.au>
WWW: <http://www.cs.mu.oz.au/~fjh>
PGP: finger fjh@128.250.37.3
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.