patch applied (ghc): stack overflows and out of memory's

John Dias dias at eecs.harvard.edu
Wed Mar 18 11:28:06 EDT 2009


Mon Mar 16 14:35:06 PDT 2009  dias at eecs.tufts.edu
  * stack overflows and out of memory's
  1. Stack overflow fixed by making dataflow monad strict in the state.
  2. Out of memory fixed by "forgetting" lastoutfacts in the dataflow monad
     where we should. We were creating an unnecessarily long list that grew
     exponentially...

    M ./compiler/cmm/CmmBuildInfoTables.hs -9 +9
    M ./compiler/cmm/CmmCPSZ.hs -7 +18
    M ./compiler/cmm/CmmSpillReload.hs -1 +1
    M ./compiler/cmm/CmmTx.hs -1
    M ./compiler/cmm/DFMonad.hs -7 +7
    M ./compiler/cmm/ZipCfgCmmRep.hs -1 +2
    M ./compiler/cmm/ZipDataflow.hs -56 +47

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090316213506-38771-8f7d0e2bc093c2be3efec333d3ab032bc82a130a.gz



More information about the Cvs-ghc mailing list