[commit: ghc] master: rts: Rip out support for STM invariants (a122d4f)

git at git.haskell.org git at git.haskell.org
Sat Jun 2 23:05:16 UTC 2018


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

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

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

commit a122d4fdd0a5858e44f9d3be90a258903e0288b2
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Sat Jun 2 11:48:39 2018 -0400

    rts: Rip out support for STM invariants
    
    This feature has some very serious correctness issues (#14310),
    introduces a great deal of complexity, and hasn't seen wide usage.
    Consequently we are removing it, as proposed in Proposal #77 [1]. This
    is heavily based on a patch from fryguybob.
    
    Updates stm submodule.
    
    [1] https://github.com/ghc-proposals/ghc-proposals/pull/77
    
    Test Plan: Validate
    
    Reviewers: erikd, simonmar, hvr
    
    Reviewed By: simonmar
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #14310
    
    Differential Revision: https://phabricator.haskell.org/D4760


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

a122d4fdd0a5858e44f9d3be90a258903e0288b2
 compiler/prelude/primops.txt.pp  |   7 -
 docs/users_guide/8.6.1-notes.rst |   5 +
 includes/Cmm.h                   |   1 -
 includes/rts/storage/Closures.h  |  18 +-
 includes/stg/MiscClosures.h      |   5 -
 libraries/base/GHC/Conc.hs       |   2 -
 libraries/base/GHC/Conc/Sync.hs  |  39 -----
 libraries/base/changelog.md      |  11 ++
 libraries/stm                    |   2 +-
 rts/Capability.c                 |   1 -
 rts/Capability.h                 |   1 -
 rts/Exception.cmm                |   5 -
 rts/PrimOps.cmm                  | 102 +++---------
 rts/RtsSymbols.c                 |   1 -
 rts/STM.c                        | 347 +--------------------------------------
 rts/STM.h                        |  13 --
 rts/StgMiscClosures.cmm          |  13 +-
 rts/sm/GC.c                      |   8 +-
 rts/sm/GC.h                      |   4 +-
 rts/sm/Scav.c                    |   4 -
 utils/deriveConstants/Main.hs    |   7 -
 21 files changed, 48 insertions(+), 548 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 a122d4fdd0a5858e44f9d3be90a258903e0288b2


More information about the ghc-commits mailing list