Commit Graph
226 Commits
Author SHA1 Message Date
Jan Beich 7847459925 Bug 762445 - Add jemalloc3 glue for heap-committed, heap-dirty in about:memory. r=glandium,jlebar 2012-10-18 16:09:07 +02:00
Jan Beich b2c2b96ca4 Bug 788955 - Check for malloc_usable_size() and malloc_np.h via autoconf. r=glandium 2012-10-17 16:39:15 +02:00
Jan Beich 9733725209 Bug 788955 - Mark some jemalloc functions as weak on BSDs. r=glandium 2012-10-17 16:38:43 +02:00
Jan Beich b2d0c64292 Bug 788955 - Without --enable-jemalloc detect and use jemalloc3 in libc. r=glandium 2012-10-17 16:36:49 +02:00
Mike Hommey fdbdad837f Bug 799090 - Update jemalloc3 to commit d0ffd8e. r=jlebar 2012-10-17 16:29:28 +02:00
Ehsan Akhgari 223ba0a5c5 Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP 2012-10-15 14:19:55 -04:00
Chris Jones face0614b6 Bug 799849: Wrap nothrow libstdc++ allocators. r=glandium 2012-10-13 03:16:53 -07:00
Jacek Szpot ad76787332 Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02:00
Justin Lebar c77120d27e Bug 787675 - When jemalloc hits a fatal assertion, crash within a new stack frame, in the hopes of making the crashstats more understandable. r=glandium 2012-09-03 22:01:24 -04:00
Michael Wu be4dcb9bd4 Bug 780287 - Don't wrap jemalloc on gonk, r=glandium 2012-08-06 16:22:26 -04:00
Mike Hommey 0f9f294ea0 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Jan Beich a72019aed3 Bug 778058 - Don't #define _malloc_message to malloc_message in jemalloc: FreeBSD's jemalloc-3.0.0 exports malloc_message (with different arguments) in stdlib.h. r=jlebar 2012-07-29 10:54:44 -04:00
Jan Beich 7f0e8873cc Bug 778056 - malloc_usable_size is also available in libc on FreeBSD, so use it in mozalloc.cpp. r=jlebar 2012-07-27 14:14:39 -04:00
Mike Hommey 1fdc18b3cc Bug 772423 - Hook mozjemalloc's abort(). r=jlebar 2012-07-11 16:55:39 +02:00
Justin Lebar ac9fab4393 Bug 772338 - Abort when VirtualAlloc fails in jemalloc's pages_commit routine. r=glandium 2012-07-10 09:25:25 -04:00
Justin Lebar 1984e7b305 Bug 766250 - Part 2: Split MOZ_TEMP_INVESTIGATION into MOZ_TEMP_INVESTIGATION and MOZ_JEMALLOC_HARD_ASSERTS. r=glandium
The former is temporary, the latter is not.
2012-06-20 01:22:40 -04:00
Justin Lebar 8619831cb1 Bug 766250 - Part 1: Enable more release-time jemalloc assertions. r=glandium 2012-06-20 01:22:40 -04:00
Justin Lebar 5e5816c20a Bug 764192 - Followup, fix red. r=me 2012-06-13 09:21:06 -04:00
Justin Lebar 98a65fb213 Bug 764192 - Enable some jemalloc assertions at release time in the hopes of catching heap corruption. r=glandium
This is disabled for the release and esr channels.
2012-06-13 09:10:12 -04:00
Jacek Caban 4b60291391 Bug 761859 - Missing MOZALLOC_EXPORT causes link failure on mingw r=ted 2012-06-11 09:51:06 +02:00
Mike Hommey 0c50976af2 Bug 762446 - Hook jemalloc's abort. r=jlebar 2012-06-11 08:12:40 +02:00
Mike Hommey 8579f3e719 Bug 580408 - Glue for jemalloc 3.0.0. r=khuey 2012-06-07 10:41:59 +02:00
Mike Hommey 1bb170aea3 Bug 580408 - Import jemalloc 3.0.0. r=khuey,r=gerv 2012-06-07 10:41:58 +02:00
Mike Hommey 9cb1b0492f Bug 580408 - Move Mozilla fork of jemalloc to memory/mozjemalloc. r=khuey 2012-06-07 10:41:58 +02:00
Jeff Walden f8f041cbc9 Bug 761859 - Make mozalloc_abort use MOZ_CRASH to crash. r=ted 2012-06-05 16:49:30 -07:00
Mike Hommey 657e9df85b Bug 758010 - Wrap operator new/delete to jemalloc on Android. r=jlebar 2012-05-31 23:49:03 +02:00
Gervase Markham d697fdc8ec Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-29 16:52:43 +01:00
Mike Hommey faeac395a2 Bug 758010 - Wrap operator new/delete on Android. r=khuey 2012-05-26 10:21:33 +02:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck a652a86ab9 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré 3a5b10b99f Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Benjamin Smedberg d25f1e6e2b Bug 737164 prerequisite - move mozilla::fallible_t to its own header so that everyone can reference it reasonable, r=cjones 2012-05-08 12:30:37 -04:00
Mike Hommey 352b40d91f Bug 751482 - Move wcsdup and je_dumb_free_thunk out of jemalloc.c. r=jlebar 2012-05-04 09:47:00 +02:00
Mike Hommey 1612413b4f Fixup for bug 736564 - Ship libmemory.a in the SDK instead of libjemalloc.a. r=ted 2012-05-04 09:46:27 +02:00
Mike Hommey 33127bb1d7 Bug 736564 - Ship mozglue and jemalloc libraries in the SDK. r=bsmedberg,r=ted
As one import library on Windows, as one shared library on OSX and Android,
and as two separate static libraries on systems where mozglue is a static
library.
2012-05-03 08:36:12 +02:00
Mike Hommey fd0fbc5895 Bug 747322 - Fix jemalloc mmap wrapper for s390x. r=jlebar,a=npotb 2012-04-23 08:31:55 +02:00
Gian-Carlo Pascutto 2af38a24d4 Bug 743715 - Cannot build Fennec without jemalloc. r=glandium 2012-04-11 14:12:34 +02:00
Mike Hommey 157cb71c34 Bug 738709 - Don't call pthread_atfork from jemalloc on OSX. r=jlebar 2012-04-05 09:20:54 +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
Mike Hommey 85c1312809 Bug 736963 - Move jemalloc'ed strdup/strndup definitions. r=jlebar,r=ted 2012-03-31 09:23:19 +02:00
Mike Hommey 6fcd1df099 Bug 737084 - Do pthread_atfork in jemalloc on mac and android. r=blassey,r=khuey 2012-03-22 08:01:51 +01:00
Mike Hommey 8da8eaf412 Bug 736959 - Don't wrap PR_Malloc and other NSPR allocation functions. r=khuey 2012-03-22 08:01:27 +01:00
Michael Wu 47f13ecf3c Bug 737175 - Make jemalloc build on ICS, r=khuey,glandium 2012-03-18 23:33:46 -04:00
Justin Lebar 1d8e42900d Bug 731696 - Revert jemalloc isalloc test code added in bug 703087. r=khuey 2012-02-29 11:25:00 -05: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
Mike Hommey 4c2d18612f Bug 697301 - Avoid the compiler making optimizations to mozalloc_abort that end up corrupting stack traces. r=cjones 2012-01-13 07:24:17 +01:00
Ms2ger 6a752be079 Bug 717441 - Backout bug 715093 / changeset d5f3e38021fd for Fennec crashes. 2012-01-12 21:35:48 +01:00
Ms2ger 3a4e490266 Bug 715093 - Get rid of MOZALLOC_INLINE in favour of MOZ_ALWAYS_INLINE; r=glandium 2012-01-11 09:22:16 +01:00