cvs commit: fptools/ghc/rts BlockAlloc.c
Simon Marlow
simonmar at haskell.org
Fri Jun 17 11:47:35 EDT 2005
simonmar 2005/06/17 08:47:34 PDT
Modified files: (Branch: ghc-6-4-branch)
ghc/rts BlockAlloc.c
Log:
allocGroup(): in the case when we have a block of exactly the right
size to satisfy the request on the free list, we were forgetting to
update the free pointer before returning it. This could lead to a
(very rare) infinite loop, when each time we allocate a block is
appears to be already full.
This bug was already fixed on the HEAD as part of the recent
allocGroup() rewrite.
Revision Changes Path
1.20.6.1 +3 -4 fptools/ghc/rts/BlockAlloc.c
More information about the Cvs-ghc
mailing list