[commit: ghc] master: Per-thread allocation counters and limits (d70b19b)

git at git.haskell.org git at git.haskell.org
Wed Nov 12 15:34:58 UTC 2014


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

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

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

commit d70b19bfb5ed79b22c2ac31e22f46782fc47a117
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Wed Oct 15 00:03:15 2014 +0100

    Per-thread allocation counters and limits
    
    This reverts commit f0fcc41d755876a1b02d1c7c79f57515059f6417.
    
    New changes: now works on 32-bit platforms too.  I added some basic
    support for 64-bit subtraction and comparison operations to the x86
    NCG.


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

d70b19bfb5ed79b22c2ac31e22f46782fc47a117
 compiler/cmm/CmmLayoutStack.hs                     |   9 +-
 compiler/cmm/CmmMachOp.hs                          |  28 ++-
 compiler/codeGen/StgCmmForeign.hs                  | 274 +++++++++++++++------
 compiler/nativeGen/X86/CodeGen.hs                  |  71 ++++--
 compiler/nativeGen/X86/Instr.hs                    |   3 +
 compiler/nativeGen/X86/Ppr.hs                      |   7 +-
 includes/rts/Constants.h                           |   6 +
 includes/rts/Flags.h                               |   8 +
 includes/rts/Threads.h                             |   8 +-
 includes/rts/storage/TSO.h                         |  31 ++-
 libraries/base/Control/Exception.hs                |   1 +
 libraries/base/Control/Exception/Base.hs           |   1 +
 libraries/base/GHC/Conc.hs                         |   6 +
 libraries/base/GHC/Conc/Sync.hs                    |  92 ++++++-
 libraries/base/GHC/IO/Exception.hs                 |  21 +-
 rts/Capability.c                                   |   4 +
 rts/HeapStackCheck.cmm                             |   4 +-
 rts/Linker.c                                       |   4 +
 rts/Prelude.h                                      |   2 +
 rts/RaiseAsync.c                                   |  54 ++++
 rts/RaiseAsync.h                                   |   4 +
 rts/RtsFlags.c                                     |  10 +
 rts/RtsStartup.c                                   |   1 +
 rts/Schedule.c                                     |  19 ++
 rts/Threads.c                                      |  77 +++---
 rts/package.conf.in                                |   2 +
 rts/sm/Storage.c                                   |   6 +
 rts/win32/libHSbase.def                            |   5 +-
 testsuite/tests/concurrent/should_run/all.T        |   7 +
 .../tests/concurrent/should_run/allocLimit1.hs     |   9 +
 .../tests/concurrent/should_run/allocLimit1.stderr |   1 +
 .../tests/concurrent/should_run/allocLimit2.hs     |  17 ++
 .../tests/concurrent/should_run/allocLimit3.hs     |  15 ++
 .../tests/concurrent/should_run/allocLimit3.stderr |   1 +
 .../should_run/allocLimit3.stdout}                 |   1 -
 .../tests/concurrent/should_run/allocLimit4.hs     |  31 +++
 utils/deriveConstants/DeriveConstants.hs           |   1 +
 37 files changed, 673 insertions(+), 168 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 d70b19bfb5ed79b22c2ac31e22f46782fc47a117


More information about the ghc-commits mailing list