[GHC] #8345: A more efficient atomicModifyIORef'

GHC ghc-devs at haskell.org
Sun Oct 5 17:16:15 UTC 2014


#8345: A more efficient atomicModifyIORef'
-------------------------------------+-------------------------------------
              Reporter:  parcs       |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:              |          Version:  7.6.3
  libraries/base                     |         Keywords:  IORef
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Moderate (less
  Unknown/Multiple                   |  than a day)
       Type of failure:  Runtime     |       Blocked By:
  performance bug                    |  Related Tickets:  #5926
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Actually, one possible complication (maybe): the current version
 guarantees allocation (and therefore an opportunity to switch threads). I
 don't think the proposed one does this. I also don't know if that's a
 problem.

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


More information about the ghc-tickets mailing list