Running a "final" finaliser

Tomasz Zielonka t.zielonka at
Mon Dec 22 11:34:14 EST 2003

On Mon, Dec 22, 2003 at 10:13:42AM -0000, Simon Marlow wrote:
> performGC doesn't do anything that you can rely on :-)  In practice, it
> probably starts all the finalizers that are ready to run, but it
> certainly doesn't wait for their termination.

Moreover, it is not guaranteed that performGC will trigger a full GC.
Most often it will reclaim only the 0th generation. I think it would be
useful to have something like performFullGC.

Best regards,

.signature: Too many levels of symbolic links

More information about the Glasgow-haskell-users mailing list