[GHC] #2105: garbage collection confusing in ghci for foreign
objects
GHC
trac at galois.com
Mon Feb 18 08:06:33 EST 2008
#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
More information about the Glasgow-haskell-bugs
mailing list