[GHC] #13712: Attach size to ForeignPtr

#13712: Attach size to ForeignPtr -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: feature | Status: new request | Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- In some types of programs the dominant memory consumer is foreign objects whose lifetime is controlled by `ForeignPtr`s. In these cases the heuristics used by the GC don't reflect the true heap size of the process, meaning that garbage collection doesn't happen as often as it should. One suggested approach to alleviating this is to allow users to tell the GC about the size of the object represented by a `ForeignPtr`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13712 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC