[commit: ghc] master: Be more explicit about closure types in ticky-ticky-report (30b9061)

git at git.haskell.org git at git.haskell.org
Tue Mar 29 14:50:53 UTC 2016


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

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

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

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

    Be more explicit about closure types in ticky-ticky-report
    
    The report now distinguishes thunks (in the variants single-entry and
    standard thunks), constructors and functions (possibly single-entry).
    
    Forthermore, for standard thunks (AP and selector), do not count an
    entry when they are allocated. It is not possible to count their
    entries, as their code is shared, but better count nothing than count
    the wrong thing.


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

30b9061317ea7b834339d9458c46bd6b9108d947
 compiler/codeGen/StgCmmBind.hs    | 15 ++++++---
 compiler/codeGen/StgCmmClosure.hs | 49 ++++++++++++++-------------
 compiler/codeGen/StgCmmTicky.hs   | 69 +++++++++++++++++++++++++++++----------
 3 files changed, 88 insertions(+), 45 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 30b9061317ea7b834339d9458c46bd6b9108d947


More information about the ghc-commits mailing list