
#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 the patches again, thanks to more comments by Edward Yang. Now addCFinalizerToWeak# and finalizeWeak# use lockClosure() rather than cas() for synchronization. I believe the first patch is much simpler now. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7847#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler