Thu Aug 20 07:43:08 PDT 2009  Simon Marlow <[email protected]>
  * Relax the assumption that all objects fit in a single block (#3424)
  Ignore-this: 44ec5ed31491241b6f03182c80c0681e
  
  It is possible for the program to allocate single object larger than a
  block, without going through the normal large-object mechanisms that
  we have for arrays and threads and so on.  
  
  The GC was assuming that no object was larger than a block, but #3424
  contains a program that breaks the assumption.  This patch removes the
  assumption.  The objects in question will still be copied, that is
  they don't get the normal large-object treatment, but this case is
  unlikely to occur often in practice.
  
  In the future we may improve things by generating code to allocate
  them as large objects in the first place.

    M ./rts/sm/GCUtils.c -11 +26

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090820144308-12142-182cf459b9ab78a75668a7626972a57a9c36b457.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to