[GHC] #11526: unsafeLookupStaticPtr should not live in IO

GHC ghc-devs at haskell.org
Tue Feb 2 12:55:43 UTC 2016


#11526: unsafeLookupStaticPtr should not live in IO
-------------------------------------+-------------------------------------
        Reporter:  edsko             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Core Libraries    |              Version:  8.0.1-rc1
      Resolution:                    |             Keywords:
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):

 Hmm.  I'm deeply suspicious of `StaticKey`.  It plays no role in our plan
 of record [wiki:StaticPointers].  If we don't have `StaticKey` the whole
 issue doesn't arise.

 I'd love to have a proper debate about [wiki:StaticPointers], based on
 successful execution of #11011.  Would anyone like to lead on it?

 Meanwhile, I doubt we should mess with `unsafeLookupStaticPtr`, since
 other changes are in train.

 > If we want to make this change let's try to get it in to 8.0 before
 static pointers go into wide use.

 I think `StaticPtr` is in 7.10, isn't it?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11526#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list