[GHC] #1791: heap overflow should generate an exception

GHC ghc-devs at haskell.org
Tue Jan 10 19:21:41 UTC 2017


#1791: heap overflow should generate an exception
-------------------------------------+-------------------------------------
        Reporter:  guest             |                Owner:
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  ⊥
       Component:  Runtime System    |              Version:  6.8
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  outofmem2
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2790
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"12ad4d417b89462ba8e19a3c7772a931b3a93f0e/ghc" 12ad4d4/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="12ad4d417b89462ba8e19a3c7772a931b3a93f0e"
 Throw an exception on heap overflow

 This changes heap overflow to throw a HeapOverflow exception instead of
 killing the process.

 Test Plan: GHC CI

 Reviewers: simonmar, austin, hvr, erikd, bgamari

 Reviewed By: simonmar, bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D2790

 GHC Trac Issues: #1791
 }}}

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


More information about the ghc-tickets mailing list