Commit Graph

14 Commits

Author SHA1 Message Date
Nicholas Nethercote
c0681f567c Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Mike Hommey
afd3b0fec6 Bug 680373 - Link jemalloc into mozutils instead of mozalloc on Android. r=blassey,r=pbiggar 2011-08-24 12:55:13 +02:00
Paul Biggar
d8519ed4e6 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.
2011-05-21 20:27:00 -07:00
Kyle Huey
6301483f69 Bug 515492: Put back the last line because I'm too clever by half. a=mfbt 2011-06-27 20:56:05 -07:00
Kyle Huey
153168a17a Bug 515492: Revert some bogus changes for hopefully the last android build bustage fix. 2011-06-27 20:17:22 -07:00
Kyle Huey
6d65bebedc Bug 515492: Make jemalloc work on VS 2010. r=ted,pbiggar 2011-06-27 12:44:51 -07:00
Landry Breuil
e23df20230 Bug 633857 - missing #includes for OpenBSD (mozalloc part). r=cjones 2011-04-14 17:49:38 +09:00
Brad Lassey
443f950eef bug 559263 - make jemalloc work with android, follow up patch r=ted
(transplanted from 098cf0d0c599fdcfedbc6ee5aadf01259e9dcd09)
2010-06-05 13:15:50 -04:00
Vladimir Vukicevic
72a0025709 b=566447; add presshell memory reporter; r=bz 2010-05-31 19:19:35 -07:00
Brad Lassey
414fcaa685 bug 559263 - implement jemalloc for android r=vlad 2010-05-25 11:28:14 -04:00
Chris Jones
e590b07136 Bug 550692: Wrap posix_memalign, memalign, and valloc if jemalloc provides them and the OS doesn't. r=bsmedberg 2010-04-21 23:41:40 -05:00
Marco Perez
8c13f6c655 Bug 550666: Fix FreeBSD bustage in mozalloc. r=bsmedberg 2010-04-10 17:29:46 -04:00
Chris Jones
4eb274531d Bug 550401: Do the __declspec import/export dance in mozalloc to avoid MSVC warnings. r=bsmedberg 2010-04-08 13:05:02 -05:00
Chris Jones
91ed1da469 Bug 441324, part 2: Implement libmozalloc with support for fallible and infallible malloc et al. and |operator new|s. r=bsmedberg 2010-03-03 23:02:56 -06:00