[GHC] #7307: Share top-level code for strings
GHC
ghc-devs at haskell.org
Thu Dec 5 21:55:09 UTC 2013
#7307: Share top-level code for strings
-------------------------------------+------------------------------------
Reporter: simonpj | Owner: parcs
Type: bug | Status: new
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.6.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by ezyang):
You may be right; static thunks might be blackholed anyway so the update
can be done atomically. But I'd have to check: note the comment also
states that static thunks have no payload; this is not true for TopUnpack.
I am not sure if adjusting THUNK_STATIC to now take a payload will cause
any problems. Probably it's best to check all cases in the RTS that handle
this closure type and see if they have any assumptions about payload sie.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7307#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list