|
|
Log in / Subscribe / Register

jemalloc

jemalloc

Posted Mar 13, 2008 13:09 UTC (Thu) by nix (subscriber, #2304)
In reply to: jemalloc by rsidd
Parent article: A look at memory usage in Firefox 3

Also, `just rewrite it dammit' is not always the right answer. The malloc() in glibc has a lot
of arcane knowledge and nifty speedups for obscure situations in it: replacing it wholesale
would throw all that knowledge away. A malloc() which works slightly better in most
circumstances but drastically worse in some is perhaps not an improvement (not that this is
necessarily true of jemalloc: I haven't checked, but *consistent* behaviour has always been a
major focus of glibc malloc()).


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds