[fpc-devel] Re: Compiler bottlenecks

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Jul 15 12:05:30 CEST 2010

Michael Schnell wrote on Thu, 15 Jul 2010:

>  On 07/15/2010 11:43 AM, Florian Klaempfl wrote:
>> No, because the worker thread looks into the global structure when it
>> runs out of "local" space.
> This kind of garbage control might add some overhead at unforeseen times.

And you will get overhead in the FASTMM scheme if you have two threads  
that are concurrently allocating and/or freeing a lot of small or  
medium blocks.

> I seem to like the FASTMM paradigm better.

Both have their strong and weak points. Note that FPC's memory manager  
also keeps separate freelists for small blocks (but per thread).


This message was sent using IMP, the Internet Messaging Program.

More information about the fpc-devel mailing list