#7923: Optimization for takeMVar/putMVar when MVar left empty
------------------------------------+---------------------------------------
Reporter:  ezyang                   |          Owner:  ezyang          
    Type:  task                     |         Status:  new             
Priority:  normal                   |      Component:  Runtime System  
 Version:  7.7                      |       Keywords:                  
      Os:  Unknown/Multiple         |   Architecture:  Unknown/Multiple
 Failure:  Runtime performance bug  |      Blockedby:                  
Blocking:                           |        Related:                  
------------------------------------+---------------------------------------
 Right now, we always add an MVar to the mutable list when we
 takeMVar/putMVar. However, this is unnecessary when the MVar is left
 empty. This patch arranges that we don't add the MVar to the mutable list
 in those cases. I've validated the patch but haven't checked performance
 changes yet.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7923>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to