chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Another small patch for runtime.c


From: Christian Kellermann
Subject: Re: [Chicken-hackers] [PATCH] Another small patch for runtime.c
Date: Fri, 22 Jun 2012 12:26:17 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

* Peter Bex <address@hidden> [120621 20:53]:
> Hi all,
>
> While still chasing the bug(s?) found by Megane and Mario, I noticed
> another small mistake in the memory handling of the GC.  This one could
> have actual consequences in practice.   The out of memory check
> does a calculation which is compared to a maximum memory endpoint.
>
> This calculation is repeated later to really set the heap size, but
> that second calculation includes an extra alignment.  This alignment
> adds up to 7 more bytes, which means there's a situation where we *just*
> run out of memory, but the test won't flag it.

Well spotted! Thanks! (+ pushed)

--
9 out of 10 voices in my head say, that I am crazy,
one is humming.



reply via email to

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