#2105: garbage collection confusing in ghci for foreign objects
--------------------------------------+-------------------------------------
Reporter: Frederik | Owner:
Type: run-time performance bug | Status: closed
Priority: normal | Milestone:
Component: GHCi | Version: 6.8.2
Severity: normal | Resolution: invalid
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
--------------------------------------+-------------------------------------
Changes (by Frederik):
* status: new => closed
* resolution: => invalid
Comment:
Thanks for the reply, I checked more closely and it turns out that the
stuff being freed was just temporarily allocated by the 'show' instance.
The thunk for the named variable is only evaluated once and isn't GC'ed.
Sorry again!
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2105#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs