
#8039: RTS linker: unloadObj() does not actually unload the code --------------------------------------+------------------------------------ Reporter: simonmar | Owner: simonmar Type: task | Status: closed Priority: high | Milestone: 7.8.1 Component: Runtime System | Version: 7.6.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: rts/linker_unload | Blocked By: Blocking: | Related Tickets: --------------------------------------+------------------------------------ Comment (by simonmar): The big missing piece with unloading of .so's is knowing their boundaries in memory so that the GC can detect whether there are any references left. I don't know of a way to do that with the system linker, if anyone knows of a way then I'd be happy to add support for unloading .so's. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8039#comment:16 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler