FW: A Garbage Collection Question

Simon Marlow marlowsd at gmail.com
Thu Jan 26 10:07:06 CET 2012


On 25/01/2012 07:16, Andres Löh wrote:

> You seem to assume that old strategies use a different GC policy than
> new strategies. My understanding is that this is not true. The WEAK
> policy is used in general now. So old strategies shouldn't be used
> with more recent GHCs, or you'll lose parallelism.

I just wanted to confirm what Andres writes above: the GC has only one 
policy for sparks, which is to prune them when they are unreachable from 
the program.

Cheers,
	Simon



More information about the Glasgow-haskell-users mailing list