[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] GC and heap growth percentage question
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] GC and heap growth percentage question |
Date: |
Sun, 24 Jun 2012 20:13:56 +0200 |
User-agent: |
Mutt/1.4.2.3i |
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] GC and heap growth percentage question, Peter Bex, 2012/06/23
- Re: [Chicken-hackers] GC and heap growth percentage question, Felix, 2012/06/23
- Re: [Chicken-hackers] GC and heap growth percentage question, Peter Bex, 2012/06/23
- Re: [Chicken-hackers] GC and heap growth percentage question,
Peter Bex <=
- Re: [Chicken-hackers] GC and heap growth percentage question, Felix, 2012/06/24
- [Chicken-hackers] [INCOMPLETE PATCH] Heap resizing needs to pick up the pace to match mutation stack resizing! [Was: Re: GC and heap growth percentage question], Peter Bex, 2012/06/26
- [Chicken-hackers] [PATCH] Re: Heap resizing needs to pick up the pace to match mutation stack resizing!, Peter Bex, 2012/06/27
- Re: [Chicken-hackers] [PATCH] Re: Heap resizing needs to pick up the pace to match mutation stack resizing!, Peter Bex, 2012/06/30