author Paul Biggar <>, Jason Evans <> and Dale Kim <>
Sat, 21 May 2011 20:27:00 -0700
changeset 72878 2b2f584dc5fd8cedbbd49b3456a32adaf99627da
parent 64423 41a7fb6cb4f95efcc9e84cc0caf970a4dc9cdd96
child 174616 d8f0dc8111097946f21bd3484d925cbba66c9bd9
permissions -rw-r--r--
Bug 414946 (part 1): Fix jemalloc on Mac, but leave disabled (r=pavlov) Overwrite the OSX default zone allocator, taking into account the malloc_zone_t version (supported versions are 3, 6, and 8) for Leopard, Snow Leopard and Lion. jemalloc can be dynamically disabled for unknown malloc_zone_t versions, for OSX 10.8 and beyond. The changeset does not enable jemalloc, to allow for easy disabling if there's a problem. It will be enabled in the next changeset. This should be a 15-20% improvement in memory usage.

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

For information on how to build Mozilla from the source code, see:

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla ( Instructions are at:

If you have a question about developing Mozilla, and can't find the solution
on, you can try asking your question in a
mozilla.* Usenet group, or on IRC at [The Mozilla news groups
are accessible on Google Groups, or with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:
            - or -