Marcin 'Qrczak' Kowalczyk mk167280 at students.mimuw.edu.pl
Mon Dec 4 06:37:47 EST 2000

On Mon, 4 Dec 2000, Simon Marlow wrote:

> Thread stacks fall into the category of "large objects" in GHC's storage
> manager, and therefore aren't normally moved.  However, they have to be
> able to grow on demand, so we occasionally have to relocate them.

Maybe the storage for use by alloca could be allocated as a linked list of
large memory blocks. It should still make use of efficient stack-like
allocation within the block.

> because I recon eliminating the exception handler is more important than
> speeding up the actual malloc/free.


Marcin 'Qrczak' Kowalczyk

More information about the FFI mailing list