mit-scheme-devel
[Top][All Lists]
Advanced

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

Re: [MIT-Scheme-devel] Cleaning weak hash tables in secondary GC daemon?


From: Matt Birkholz
Subject: Re: [MIT-Scheme-devel] Cleaning weak hash tables in secondary GC daemon?
Date: Tue, 20 Sep 2011 16:38:07 -0700

> From: Taylor R Campbell <address@hidden>
> Date: Tue, 20 Sep 2011 21:47:50 +0000
> 
>    Date: Tue, 20 Sep 2011 14:21:22 -0700
>    From: Matt Birkholz <address@hidden>
> 
>    I find trigger-secondary-gc-daemons! is called only in gc-clean,
>    which is called only in runtime/make.scm and disk-save.
> 
> GC-FINISH also calls GC-CLEAN when there are fewer than 4096 words
> remaining in the heap after garbage collection.  When this happens,
> Scheme will abort to the nearest REPL and exclaim `out of memory!'.

Sorry, somehow I missed that twice.  So I do not need to call
trigger-secondary-gc-daemons!  Thanks.  I must have hit "Aborting!:
out of memory" for other reasons.  I will have to let a GtkLayout demo
run down to 4Kwords just to see it go.

> Ideally, in this case, Scheme would instead expand the heap, rather
> than aborting; [...] But [...] we don't have a scalable GC [...]

Why is that?  Just because 26bits is tight?  58bits aught to provide
for a bigger newspace...



reply via email to

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