GC performances

Craig Black cblack at ara.com
Mon Nov 26 09:02:26 PST 2007


"bearophile" <bearophileHUGS at lycos.com> wrote in message 
news:fieqlv$12lr$1 at digitalmars.com...
> Craig Black:
>
>> The modern streamlined Java GC may win against an archaic manual memory
>> allocator.  However, I don't think it could possibly outperform a modern
>> manual allocator like nedmalloc.  I think that D should include nedmalloc 
>> in
>> the standard library.  This would put D at the top of the list in this
>> benchmark.
>
> There is this widely used one too, by Doug Lea:
> http://gee.cs.oswego.edu/pub/misc/malloc.c
> http://gee.cs.oswego.edu/pub/misc/malloc.h
>
> Bye,
> bearophile

nedmalloc is based on Doug Lea's allocator I think.  It improves on it and 
significantly outperforms it, especially when multiple threads are used. 





More information about the Digitalmars-d mailing list