[commit: ghc] master: Throw an exception on heap overflow (12ad4d4)

git at git.haskell.org git at git.haskell.org
Tue Jan 10 19:22:03 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/12ad4d417b89462ba8e19a3c7772a931b3a93f0e/ghc

>---------------------------------------------------------------

commit 12ad4d417b89462ba8e19a3c7772a931b3a93f0e
Author: Demi Obenour <demiobenour at gmail.com>
Date:   Tue Jan 10 13:33:31 2017 -0500

    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


>---------------------------------------------------------------

12ad4d417b89462ba8e19a3c7772a931b3a93f0e
 docs/users_guide/8.2.1-notes.rst                   |  7 +++
 docs/users_guide/runtime_control.rst               | 14 +++++
 includes/rts/Flags.h                               | 10 ++++
 libraries/base/GHC/IO/Exception.hs                 |  9 ++-
 libraries/base/GHC/TopHandler.hs                   | 31 +++++++++-
 rts/RtsFlags.c                                     | 23 ++++++--
 rts/RtsStartup.c                                   |  7 +++
 rts/RtsSymbols.c                                   |  2 +
 rts/Schedule.c                                     | 68 ++++++++++++++++------
 rts/TopHandler.c                                   | 62 ++++++++++++++++++++
 rts/TopHandler.h                                   | 27 +++++++++
 .../tests/{cabal/pkg02 => rts/T1791}/Makefile      |  2 +
 testsuite/tests/rts/T1791/T1791.hs                 | 20 +++++++
 testsuite/tests/rts/T1791/T1791.stderr             |  3 +
 testsuite/tests/rts/T1791/T1791.stdout             |  1 +
 testsuite/tests/rts/T1791/all.T                    |  4 ++
 testsuite/tests/rts/T5644/T5644.stdout             |  2 +
 17 files changed, 265 insertions(+), 27 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 12ad4d417b89462ba8e19a3c7772a931b3a93f0e


More information about the ghc-commits mailing list