[GHC] #7300: Allow CAFs kept reachable by FFI to be forcibly made unreachable for GC
GHC
cvs-ghc at haskell.org
Fri Oct 5 17:30:12 CEST 2012
#7300: Allow CAFs kept reachable by FFI to be forcibly made unreachable for GC
---------------------------------+------------------------------------------
Reporter: absence | Owner:
Type: feature request | Status: new
Priority: high | Milestone: 7.8.1
Component: Compiler (FFI) | Version: 7.4.1
Keywords: unsafe caf gc | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Runtime performance bug
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by simonmar):
* priority: normal => high
* difficulty: => Unknown
* milestone: => 7.8.1
Comment:
Thanks for making a ticket.
What I had in mind (to remind myself) is that we expose a C API from the
RTS that would revert all the live CAFs. This would have to be done at
the same time as a major GC, because that is the only time that we can
visit all the live CAFs.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7300#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list