[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garbage Collection questions

From: Dirk Herrmann
Subject: Re: Garbage Collection questions
Date: Mon, 14 May 2001 11:06:44 +0200 (MEST)

On Sun, 13 May 2001, Sam Tregar wrote:

> gc.c also had some interesting comments on this question - the
> scm_remember_upto_here functions are a very strange hack indeed!  It seems
> that a sufficiently intelligent optimisizing compiler could defeat this
> mechanism...

It's true that calls to scm_remember_upto_here could be removed by a
compiler _if it knew about the implementation_.  But, since the compiler
does not know about what is actually happening in scm_remember_upto_here,
it has to make worst-case assumptions.  These assumptions require even the
most intelligent compiler to be extremely careful with respect to

Best regards,
Dirk Herrmann

reply via email to

[Prev in Thread] Current Thread [Next in Thread]