Per-thread allocation counters and limits
authorSimon Marlow <marlowsd@gmail.com>
Tue, 14 Oct 2014 23:03:15 +0000 (00:03 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 12 Nov 2014 15:11:10 +0000 (15:11 +0000)
commitd70b19bfb5ed79b22c2ac31e22f46782fc47a117
treed7bc2ad5a6d50bf351dfd97779030dae63e5d7cf
parentc774b28f76ee4c220f7c1c9fd81585e0e3af0e8a
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.
37 files changed:
compiler/cmm/CmmLayoutStack.hs
compiler/cmm/CmmMachOp.hs
compiler/codeGen/StgCmmForeign.hs
compiler/nativeGen/X86/CodeGen.hs
compiler/nativeGen/X86/Instr.hs
compiler/nativeGen/X86/Ppr.hs
includes/rts/Constants.h
includes/rts/Flags.h
includes/rts/Threads.h
includes/rts/storage/TSO.h
libraries/base/Control/Exception.hs
libraries/base/Control/Exception/Base.hs
libraries/base/GHC/Conc.hs
libraries/base/GHC/Conc/Sync.hs
libraries/base/GHC/IO/Exception.hs
rts/Capability.c
rts/HeapStackCheck.cmm
rts/Linker.c
rts/Prelude.h
rts/RaiseAsync.c
rts/RaiseAsync.h
rts/RtsFlags.c
rts/RtsStartup.c
rts/Schedule.c
rts/Threads.c
rts/package.conf.in
rts/sm/Storage.c
rts/win32/libHSbase.def
testsuite/tests/concurrent/should_run/all.T
testsuite/tests/concurrent/should_run/allocLimit1.hs [new file with mode: 0644]
testsuite/tests/concurrent/should_run/allocLimit1.stderr [new file with mode: 0644]
testsuite/tests/concurrent/should_run/allocLimit2.hs [new file with mode: 0644]
testsuite/tests/concurrent/should_run/allocLimit3.hs [new file with mode: 0644]
testsuite/tests/concurrent/should_run/allocLimit3.stderr [new file with mode: 0644]
testsuite/tests/concurrent/should_run/allocLimit3.stdout [new file with mode: 0644]
testsuite/tests/concurrent/should_run/allocLimit4.hs [new file with mode: 0644]
utils/deriveConstants/DeriveConstants.hs