[Haskell-cafe] HEADS UP: finalizer changes coming in GHC 6.10.2

Johan Tibell johan.tibell at gmail.com
Wed Jan 14 10:09:10 EST 2009

On Wed, Jan 14, 2009 at 1:14 PM, Simon Marlow <marlowsd at gmail.com> wrote:
> By popular demand, GHC 6.10.2 will support finalizers that are actually
> guaranteed to run, and run promptly.  There aren't any API changes: this
> happens for finalizers created using newForeignPtr as normal.

Does this effect GC performance even if you don't use finalizers?

My knowledge of how finalizers affect GC performance is limited but
now and then I stumble on some Java article (e.g. [1]) that claims
that they can slow things down. That's no problem if there's no
additional cost added to code which doesn't use finalizers.

1. http://java2go.blogspot.com/2007/09/javaone-2007-performance-tips-2-finish.html



More information about the Glasgow-haskell-users mailing list