guile-devel
[Top][All Lists]
Advanced

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

Re: A warning for Scheme implementations that derived the Garbage Collec


From: Neil Jerram
Subject: Re: A warning for Scheme implementations that derived the Garbage Collector from SIOD
Date: 14 Jul 2001 19:05:19 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

[moved from bug-guile to guile-devel, since this isn't an immediate
problem]

>>>>> "Aubrey" == Aubrey Jaffer <address@hidden> writes:

    Aubrey> SCM has supported both of these architectures for years.
    Aubrey> The problem on the SPARC (which manifests as bloated
    Aubrey> memory only when using many saved continuations) is not
    Aubrey> that of finding all references, but of pre-clearing them.
    Aubrey> I am sure some SPARC maven at Sun could tell us how to
    Aubrey> clear the register windows; anyone know one?

I'm not sure I've understood the question, but is the answer anything
to do with this comment from Guile's __scm.h?

------------- __scm.h --------------
/* James Clark came up with this neat one instruction fix for
 * continuations on the SPARC.  It flushes the register windows so
 * that all the state of the process is contained in the stack. 
 */

#ifdef sparc
# define SCM_FLUSH_REGISTER_WINDOWS asm("ta 3")
#else
# define SCM_FLUSH_REGISTER_WINDOWS /* empty */
#endif
------------- __scm.h --------------

        Neil




reply via email to

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