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).


Jonas

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

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to