On Sun, Jun 24, 2012 at 01:44:18PM +0200, Felix wrote:
> > IIUC, this means that whenever more stuff is allocated between two GCs
> > (old heap + stack?) than twice the heap, it will fail.  I'm not sure yet
> > how this situation would happen, but there are a lot of places which hold
> > values that are remarked, so I can imagine there could be situations
> > where these taken together are more than twice the current heap.
> 
> This would mean either the nursery is bigger than one half of the new
> space (very unlikely) or that data is copied more than once (which
> would be a bug).

I noticed that when the panic happens, gc_mode = GC_REALLOC.  This is
sort of a special situation.  Could it be the data is copied more than
once in this case?

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to