[GHC] #7847: Maintain per-generation lists of weak pointers

GHC cvs-ghc at haskell.org
Wed Apr 24 11:11:41 CEST 2013


#7847: Maintain per-generation lists of weak pointers
-----------------------------------------+----------------------------------
Reporter:  akio                          |          Owner:                  
    Type:  feature request               |         Status:  patch           
Priority:  normal                        |      Component:  Runtime System  
 Version:  7.7                           |       Keywords:                  
      Os:  Unknown/Multiple              |   Architecture:  Unknown/Multiple
 Failure:  Compile-time performance bug  |      Blockedby:                  
Blocking:                                |        Related:                  
-----------------------------------------+----------------------------------

Comment(by akio):

 I updated and re-validated the patches, following the suggestions given by
 Edward Yang on ghc-devs. I believe now the code doesn't have the
 addCFianlizerToWeak# / finalizeWeak# race condition. It also fixes a
 finalizeWeak# / finalizeWeak# race condition that existed before my
 changes.

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



More information about the ghc-tickets mailing list