jasone 2006-12-23 00:18:51 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib malloc.c
Log:
Implement chunk allocation/deallocation hysteresis by caching one spare
chunk per arena, rather than immediately deallocating all unused chunks.
This fixes a potential performance issue when allocating/deallocating
an object of size (4kB..1MB] in a loop.
Reported by: davidxu
Revision Changes Path
1.138 +86 -51 src/lib/libc/stdlib/malloc.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"