[GHC] #14998: Sort out the strictness mess for exceptions
GHC
ghc-devs at haskell.org
Wed Apr 4 19:23:41 UTC 2018
#14998: Sort out the strictness mess for exceptions
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.4.3
Component: Compiler | Version: 8.2.2
Resolution: | Keywords: Exceptions
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
OK, well, let's declare victory on Item 4. Maybe it was the `mask#`
primops (which still have `strictArgDmd` that were delivering the payoff.
Next up: item 2. Could you remove the ! from the defns of
`GHC.IO.catchException` and `catchAny`, and see if that has any perf
impact? (And validate.)
I think they are unnecessary.
Next: item 1. Could you make `catchRetry#` have `lazyApply1Dmd` like
`catch#` and see if that has any effect? If not, let's switch it.
Thanks
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14998#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list