Commit Graph

21 Commits

Author SHA1 Message Date
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gian-Carlo Pascutto
2af38a24d4 Bug 743715 - Cannot build Fennec without jemalloc. r=glandium 2012-04-11 14:12:34 +02:00
Mike Hommey
f9e07dcd00 Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Jonathan Kew
ee7783b5af bug 723472 - don't trigger an OOM abort on a zero-size allocation. r=cjones 2012-02-02 14:34:22 +00:00
Nicholas Nethercote
c1dd090b4c Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett. 2012-01-25 00:52:51 -08:00
Benjamin Smedberg
42b67a523b Bug 716638 - Annotate the size of a failed allocation due to OOM and submit it with the crash report, r=ted 2012-01-24 11:08:51 -05:00
Nicholas Nethercote
12a6871387 Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
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