[GHC] #10470: Allocating StablePtrs leads to GC slowdown even after they're freed

GHC ghc-devs at haskell.org
Mon Jun 1 19:14:49 UTC 2015


#10470: Allocating StablePtrs leads to GC slowdown even after they're freed
-------------------------------------+-------------------------------------
        Reporter:  bitonic           |                   Owner:  simonmar
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Runtime System    |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by bitonic):

 Yeah, I used "resize" in a fairly liberal way :).

 One quick improvement would be to at least free empty tails, which
 wouldn't require any trick to maintain the existing indexes.

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


More information about the ghc-tickets mailing list