[commit: ghc] master: rts: Throw proper HeapOverflow exception on allocating large array (30a1eee)

git at git.haskell.org git at git.haskell.org
Tue Sep 26 21:44:12 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/30a1eeea37e224e4ade9b8e7cdd30076cb716960/ghc

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

commit 30a1eeea37e224e4ade9b8e7cdd30076cb716960
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Tue Sep 26 15:09:13 2017 -0400

    rts: Throw proper HeapOverflow exception on allocating large array
    
    Test Plan: Validate, add tests
    
    Reviewers: simonmar, austin, erikd
    
    Reviewed By: simonmar
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D4021


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

30a1eeea37e224e4ade9b8e7cdd30076cb716960
 includes/rts/storage/GC.h |  5 +--
 rts/PrimOps.cmm           | 26 ++++++++++++---
 rts/sm/Storage.c          | 84 ++++++++++++++++++++++++++++++-----------------
 3 files changed, 79 insertions(+), 36 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 30a1eeea37e224e4ade9b8e7cdd30076cb716960


More information about the ghc-commits mailing list