Rafael Ávila de Espíndola
7330a180a0
Bug 807112 - change MOZ_EXPORT_API and MOZ_IMPORT_API to not take the type. r=Waldo.
2012-10-31 18:18:12 -04:00
Jacek Szpot
abf9c51413
Bug 800106: Replace more NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Jan Beich
b1967c0ac2
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
b905e6a742
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
7b2766d86d
Bug 788955 - Mark some jemalloc functions as weak on BSDs. r=glandium
2012-10-17 16:38:43 +02:00
Jan Beich
90b1515739
Bug 788955 - Without --enable-jemalloc detect and use jemalloc3 in libc. r=glandium
2012-10-17 16:36:49 +02:00
Mike Hommey
212463a61a
Bug 799090 - Update jemalloc3 to commit d0ffd8e. r=jlebar
2012-10-17 16:29:28 +02:00
Ehsan Akhgari
ee902c51f9
Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP
2012-10-15 14:19:55 -04:00
Chris Jones
353f38f677
Bug 799849: Wrap nothrow libstdc++ allocators. r=glandium
2012-10-13 03:16:53 -07:00
Jacek Szpot
06b915eb2e
Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Justin Lebar
db3de0d55d
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
388d00feee
Bug 780287 - Don't wrap jemalloc on gonk, r=glandium
2012-08-06 16:22:26 -04:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Jan Beich
61da184ec9
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
a0d130c9ab
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
ad1fa9fabe
Bug 772423 - Hook mozjemalloc's abort(). r=jlebar
2012-07-11 16:55:39 +02:00
Justin Lebar
1132bc2fa6
Bug 772338 - Abort when VirtualAlloc fails in jemalloc's pages_commit routine. r=glandium
2012-07-10 09:25:25 -04:00
Justin Lebar
19d1ccf54a
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
ad9a69c11a
Bug 766250 - Part 1: Enable more release-time jemalloc assertions. r=glandium
2012-06-20 01:22:40 -04:00
Justin Lebar
60d3e02dce
Bug 764192 - Followup, fix red. r=me
2012-06-13 09:21:06 -04:00
Justin Lebar
e7dbf347f4
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.
--HG--
extra : rebase_source : 0b668cfbb63d6478a4200a414cd0dafa0cfba1ce
2012-06-13 09:10:12 -04:00
Jacek Caban
c4079db44b
Bug 761859 - Missing MOZALLOC_EXPORT causes link failure on mingw r=ted
2012-06-11 09:51:06 +02:00
Mike Hommey
b83e644292
Bug 762446 - Hook jemalloc's abort. r=jlebar
2012-06-11 08:12:40 +02:00
Mike Hommey
1510749815
Bug 580408 - Glue for jemalloc 3.0.0. r=khuey
2012-06-07 10:41:59 +02:00
Mike Hommey
b5bd6b36d5
Bug 580408 - Import jemalloc 3.0.0. r=khuey,r=gerv
2012-06-07 10:41:58 +02:00
Mike Hommey
caf974ce43
Bug 580408 - Move Mozilla fork of jemalloc to memory/mozjemalloc. r=khuey
...
--HG--
rename : memory/jemalloc/Makefile.in => memory/mozjemalloc/Makefile.in
rename : memory/jemalloc/jemalloc.c => memory/mozjemalloc/jemalloc.c
rename : memory/jemalloc/jemalloc.h => memory/mozjemalloc/jemalloc.h
rename : memory/jemalloc/jemalloc_types.h => memory/mozjemalloc/jemalloc_types.h
rename : memory/jemalloc/linkedlist.h => memory/mozjemalloc/linkedlist.h
rename : memory/jemalloc/osx_zone_types.h => memory/mozjemalloc/osx_zone_types.h
rename : memory/jemalloc/ql.h => memory/mozjemalloc/ql.h
rename : memory/jemalloc/qr.h => memory/mozjemalloc/qr.h
rename : memory/jemalloc/rb.h => memory/mozjemalloc/rb.h
2012-06-07 10:41:58 +02:00
Jeff Walden
e00457555c
Bug 761859 - Make mozalloc_abort use MOZ_CRASH to crash. r=ted
2012-06-05 16:49:30 -07:00
Mike Hommey
0a562bc5d0
Bug 758010 - Wrap operator new/delete to jemalloc on Android. r=jlebar
2012-05-31 23:49:03 +02:00
Gervase Markham
68d38d677f
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Mike Hommey
11b04e4bcf
Bug 758010 - Wrap operator new/delete on Android. r=khuey
2012-05-26 10:21:33 +02:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Brubeck
60b5d7f292
Back out c209fea124e1 (bug 754198) because of Win64 build failure
2012-05-11 13:23:49 -07:00
Fabrice Desré
5397f4846a
Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg]
2012-05-11 12:34:24 -07:00
Benjamin Smedberg
433fd36140
Bug 737164 prerequisite - move mozilla::fallible_t to its own header so that everyone can reference it reasonable, r=cjones
...
--HG--
extra : rebase_source : 1f0e042f6d639b960c85f7813346e82afcf27861
2012-05-08 12:30:37 -04:00
Mike Hommey
876a7d7818
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
a29da17198
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
4079d49a02
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
9cc7654e5e
Bug 747322 - Fix jemalloc mmap wrapper for s390x. r=jlebar,a=npotb
2012-04-23 08:31:55 +02:00
Gian-Carlo Pascutto
12e5d134c7
Bug 743715 - Cannot build Fennec without jemalloc. r=glandium
2012-04-11 14:12:34 +02:00
Mike Hommey
502771afd6
Bug 738709 - Don't call pthread_atfork from jemalloc on OSX. r=jlebar
2012-04-05 09:20:54 +02:00
Mike Hommey
609e12c771
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
3ef23117af
Bug 736963 - Move jemalloc'ed strdup/strndup definitions. r=jlebar,r=ted
2012-03-31 09:23:19 +02:00
Mike Hommey
6853dfab1c
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
92ee6771d6
Bug 736959 - Don't wrap PR_Malloc and other NSPR allocation functions. r=khuey
2012-03-22 08:01:27 +01:00
Michael Wu
599e26085d
Bug 737175 - Make jemalloc build on ICS, r=khuey,glandium
2012-03-18 23:33:46 -04:00
Justin Lebar
f20f0ea954
Bug 731696 - Revert jemalloc isalloc test code added in bug 703087. r=khuey
2012-02-29 11:25:00 -05:00
Jonathan Kew
0226614b64
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
7559a70a04
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Benjamin Smedberg
587594165b
Bug 716638 - Annotate the size of a failed allocation due to OOM and submit it with the crash report, r=ted
...
--HG--
extra : rebase_source : 5b7d10cb2e117deabb89b75ec3f3b1a221b3c80b
2012-01-24 11:08:51 -05:00
Mike Hommey
beeba9e288
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