garbage collection

Simon Marlow simonmar at microsoft.com
Sat Apr 23 18:46:02 EDT 2005


On 22 April 2005 12:59, Bulat Ziganshin wrote:

> also while viewing MBlock.c i wonder why you are aligning megablocks
> to megabyte boundary - may be 8-byte aligning would be enough?
> megablocks are never copied or allocated as whole, and even in this
> case aligning to CPU cache line boundary will be enough

Megablocks have to be allocated on a 1Mb boundary because of the way we
map addresses to block descriptors: see Bdescr().

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list