malloc() wastes 50%...

Mike Hearn mike@plan99.net
Sat Sep 2 22:10:00 GMT 2006


On Fri, 01 Sep 2006 20:50:28 -0400, John Moser wrote:
> On Fri, 2006-09-01 at 18:41 -0400, Mike Frysinger wrote:
> mtrace replaces sbrk(), malloc(), free(), realloc(), memalign(),
> valloc(), calloc(), and cfree() with wrappers to the native allocator.

Presumably you're seeing heap fragmentation then, which is indeed a
problem but you need a compacting GC to fix it and they have their own
problems ...



More information about the Libc-alpha mailing list