[commit: ghc] wip/T10613: Rough working implementation of #10613 (ea3e534)

git at git.haskell.org git at git.haskell.org
Tue Mar 29 12:05:11 UTC 2016


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

On branch  : wip/T10613
Link       : http://ghc.haskell.org/trac/ghc/changeset/ea3e534eb33ccb541731f4fbf6cb81c73e6ade57/ghc

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

commit ea3e534eb33ccb541731f4fbf6cb81c73e6ade57
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Mar 17 16:33:18 2016 +0100

    Rough working implementation of #10613
    
    The COUNTING_IND closure type is based on the (since removed) IND_PERM.
    
    Some of the code is rather ad-hoc and likely in need of some refactoring
    and clean-up before entering master (if it ever should), but it should
    be good enough to play around with it and obtain some numbers.


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

ea3e534eb33ccb541731f4fbf6cb81c73e6ade57
 compiler/cmm/CLabel.hs               |  5 ++-
 compiler/cmm/CmmType.hs              |  6 +++
 compiler/cmm/SMRep.hs                | 11 +++++-
 compiler/codeGen/StgCmmBind.hs       | 76 +++++++++++++++++++++++++++---------
 compiler/codeGen/StgCmmClosure.hs    |  8 ++++
 compiler/codeGen/StgCmmHeap.hs       | 20 ++++++++--
 compiler/codeGen/StgCmmLayout.hs     | 23 ++++++++---
 compiler/codeGen/StgCmmTicky.hs      | 37 ++++++++++++++++--
 compiler/codeGen/StgCmmUtils.hs      | 12 +++---
 compiler/coreSyn/PprCore.hs          |  2 +-
 compiler/ghci/ByteCodeItbls.hs       |  4 +-
 includes/Cmm.h                       |  1 +
 includes/rts/Ticky.h                 |  9 ++++-
 includes/rts/storage/ClosureMacros.h |  1 +
 includes/rts/storage/ClosureTypes.h  | 73 +++++++++++++++++-----------------
 includes/rts/storage/Closures.h      |  7 ++++
 includes/stg/MiscClosures.h          |  1 +
 rts/CheckUnload.c                    |  1 +
 rts/ClosureFlags.c                   |  3 +-
 rts/Interpreter.c                    |  1 +
 rts/LdvProfile.c                     |  1 +
 rts/Printer.c                        | 10 ++++-
 rts/ProfHeap.c                       |  1 +
 rts/RetainerProfile.c                |  6 +--
 rts/RtsSymbols.c                     |  1 +
 rts/Stable.c                         |  1 +
 rts/StgMiscClosures.cmm              | 43 ++++++++++++++++++++
 rts/Ticky.c                          | 21 +++++++---
 rts/sm/Compact.c                     |  1 +
 rts/sm/Evac.c                        |  3 ++
 rts/sm/GCAux.c                       |  1 +
 rts/sm/Sanity.c                      |  1 +
 rts/sm/Scav.c                        | 12 ++++++
 utils/deriveConstants/Main.hs        |  7 ++++
 utils/genapply/Main.hs               |  4 +-
 35 files changed, 325 insertions(+), 89 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 ea3e534eb33ccb541731f4fbf6cb81c73e6ade57


More information about the ghc-commits mailing list