[GHC] #7670: StablePtrs should be organized by generation for efficient minor collections

GHC ghc-devs at haskell.org
Thu Aug 23 21:35:32 UTC 2018


#7670: StablePtrs should be organized by generation for efficient minor
collections
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  7.7
      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 dfeuer):

 Another thing: we don't really want to have to allocate memory dynamically
 for the nursery hash table. Ideally, it would be backed by a fixed array
 to avoid memory management overhead. The non-nursery hash table can be a
 bit more expensive to maintain, since it only gets replaced during major
 collections.

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


More information about the ghc-tickets mailing list