[GHC] #14468: Why does alanz's branch blow up GHC's heap?

GHC ghc-devs at haskell.org
Wed Nov 15 19:49:59 UTC 2017


#14468: Why does alanz's branch blow up GHC's heap?
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  high              |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 The dominant entries in the profile are,
 {{{
            tcRnModule'                                 HscMain
 compiler/main/HscMain.hs:(460,1)-(499,72)          1549          1    0.0
 0.0    40.5   44.2
               tcRnSrcDecls                             TcRnDriver
 compiler/typecheck/TcRnDriver.hs:259:25-65         1562          1    0.0
 0.0    40.1   43.8
                simplifyTop                             TcRnDriver
 compiler/typecheck/TcRnDriver.hs:413:25-39         1582          1    1.3
 1.2    16.8   18.1
                 solveSimples                           TcInteract
 compiler/typecheck/TcInteract.hs:(240,5)-(241,21)  1583       3215    0.0
 0.0    15.5   16.9
                  solve_loop                            TcInteract
 compiler/typecheck/TcInteract.hs:(245,9)-(249,44)  1584          0    7.8
 9.1    15.4   16.9
                zonkTopDecls                            TcRnDriver
 compiler/typecheck/TcRnDriver.hs:(446,16)-(447,43) 1588          1    0.6
 0.8    17.1   18.7
                 zonkEvBinds                            TcHsSyn
 compiler/typecheck/TcHsSyn.hs:(1497,5)-(1500,35)   1589       5630   12.0
 13.1    16.5   17.9
 }}}

 Clearly more cost centres are needed.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14468#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list