Re: isAlive() too conservative -- does it cause leaks?

2018-07-19 Thread Ömer Sinan Ağacan
I created https://ghc.haskell.org/trac/ghc/ticket/15417 for this. Ömer Simon Marlow , 19 Tem 2018 Per, 13:52 tarihinde şunu yazdı: > > On 19 July 2018 at 11:09, Ömer Sinan Ağacan wrote: >> >> Hi Simon, >> >> Currently isAlive considers all static closures as being alive. The code: >> >> //

Re: isAlive() too conservative -- does it cause leaks?

2018-07-19 Thread Simon Marlow
On 19 July 2018 at 11:09, Ömer Sinan Ağacan wrote: > Hi Simon, > > Currently isAlive considers all static closures as being alive. The code: > > // ignore static closures > // > // ToDo: This means we never look through IND_STATIC, which means > // isRetainer needs to handle the

isAlive() too conservative -- does it cause leaks?

2018-07-19 Thread Ömer Sinan Ağacan
Hi Simon, Currently isAlive considers all static closures as being alive. The code: // ignore static closures // // ToDo: This means we never look through IND_STATIC, which means // isRetainer needs to handle the IND_STATIC case rather than // raising an error. // //