[Git][ghc/ghc][wip/stack_cloning] 9 commits: testsuite: Add performance test for #18698

Ben Gamari gitlab at gitlab.haskell.org
Mon Nov 2 04:04:40 UTC 2020



Ben Gamari pushed to branch wip/stack_cloning at Glasgow Haskell Compiler / GHC


Commits:
bd4abdc9 by Ben Gamari at 2020-11-01T01:10:31-04:00
testsuite: Add performance test for #18698

- - - - -
dfd27445 by Hécate at 2020-11-01T01:11:09-04:00
Add the proper HLint rules and remove redundant keywords from compiler

- - - - -
ce1bb995 by Hécate at 2020-11-01T08:52:08-05:00
Fix a leak in `transpose`

This patch was authored by David Feuer <david.feuer at gmail.com>

- - - - -
e63db32c by Ben Gamari at 2020-11-01T08:52:44-05:00
Scav: Use bd->gen_no instead of bd->gen->no

This potentially saves a cache miss per scavenge.

- - - - -
169c7bcc by Sven Tennie at 2020-11-01T23:02:21-05:00
deriveConstants: Add hie.yaml

- - - - -
1f3235e5 by Sven Tennie at 2020-11-01T23:02:21-05:00
base: Generalize newStablePtrPrimMVar

Make it polymorphic in the type of the MVar's value.

- - - - -
44c1fff9 by Sven Tennie at 2020-11-01T23:03:18-05:00
Introduce snapshotting of thread's own stack

Introduce `StackSnapshot#` type and the `cloneMyStack#` primop, allowing
the user to reify the state of the calling thread's stack for later
inspection.

The stack snapshot is offline/cold, i.e. it isn't evaluated any further.

For technical details, please see note [Stack Cloning].

- - - - -
bcc93393 by Sven Tennie at 2020-11-01T23:03:18-05:00
Introduce cloning of other threads' stacks

Introduce `cloneThreadStack` function, allowing threads to request
snapshots of other threads' stacks.

For technical details, please see note [Stack Cloning].

- - - - -
4e2fac38 by Sven Tennie at 2020-11-01T23:03:18-05:00
Introduce printing support for StackSnapshot#'s

This refactors the RTS's existing Printer module to allow printing of
StackSnapshot#'s.

- - - - -


30 changed files:

- compiler/.hlint.yaml
- compiler/GHC/Builtin/Names.hs
- compiler/GHC/Builtin/Types/Prim.hs
- compiler/GHC/Builtin/primops.txt.pp
- compiler/GHC/Cmm/Graph.hs
- compiler/GHC/Cmm/LayoutStack.hs
- compiler/GHC/Cmm/Pipeline.hs
- compiler/GHC/Cmm/ProcPoint.hs
- compiler/GHC/CmmToAsm.hs
- compiler/GHC/CmmToAsm/BlockLayout.hs
- compiler/GHC/CmmToAsm/CFG/Dominators.hs
- compiler/GHC/CmmToAsm/PPC/CodeGen.hs
- compiler/GHC/CmmToAsm/Reg/Graph/Spill.hs
- compiler/GHC/CmmToAsm/SPARC/CodeGen.hs
- compiler/GHC/CmmToAsm/X86/CodeGen.hs
- compiler/GHC/CmmToLlvm/CodeGen.hs
- compiler/GHC/Core/Lint.hs
- compiler/GHC/Core/Opt/ConstantFold.hs
- compiler/GHC/Core/Opt/Exitify.hs
- compiler/GHC/Core/Opt/Monad.hs
- compiler/GHC/Core/Opt/Pipeline.hs
- compiler/GHC/Core/Opt/Simplify.hs
- compiler/GHC/Core/Opt/SpecConstr.hs
- compiler/GHC/Core/Opt/Specialise.hs
- compiler/GHC/Core/Opt/StaticArgs.hs
- compiler/GHC/Core/TyCon/Env.hs
- compiler/GHC/Core/TyCon/RecWalk.hs
- compiler/GHC/Core/TyCon/Set.hs
- compiler/GHC/Core/Utils.hs
- compiler/GHC/CoreToStg.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/7223c48466d501a077f0331ae4f390269310d984...4e2fac38419a9f76ba1aadd081c58009e8a7ca9a

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/7223c48466d501a077f0331ae4f390269310d984...4e2fac38419a9f76ba1aadd081c58009e8a7ca9a
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201101/293a5270/attachment.html>


More information about the ghc-commits mailing list