Commit Graph

217 Commits

Author SHA1 Message Date
Michael Wu
a14e332a6a Bug 780287 - Don't wrap jemalloc on gonk, r=glandium 2012-08-06 16:22:26 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Jan Beich
1d29b667ac 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
9caaae5480 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
babf37791c Bug 772423 - Hook mozjemalloc's abort(). r=jlebar 2012-07-11 16:55:39 +02:00
Justin Lebar
4e57306b6e Bug 772338 - Abort when VirtualAlloc fails in jemalloc's pages_commit routine. r=glandium 2012-07-10 09:25:25 -04:00
Justin Lebar
da584aabcc 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
19e808194e Bug 766250 - Part 1: Enable more release-time jemalloc assertions. r=glandium 2012-06-20 01:22:40 -04:00
Justin Lebar
ce0bd3c816 Bug 764192 - Followup, fix red. r=me 2012-06-13 09:21:06 -04:00
Justin Lebar
ae40e43536 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
c0796eb09f Bug 761859 - Missing MOZALLOC_EXPORT causes link failure on mingw r=ted 2012-06-11 09:51:06 +02:00
Mike Hommey
43ce5971a1 Bug 762446 - Hook jemalloc's abort. r=jlebar 2012-06-11 08:12:40 +02:00
Mike Hommey
62944180d5 Bug 580408 - Glue for jemalloc 3.0.0. r=khuey 2012-06-07 10:41:59 +02:00
Mike Hommey
eaa59b06a7 Bug 580408 - Import jemalloc 3.0.0. r=khuey,r=gerv 2012-06-07 10:41:58 +02:00
Mike Hommey
b12cf02925 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
3c61629998 Bug 761859 - Make mozalloc_abort use MOZ_CRASH to crash. r=ted 2012-06-05 16:49:30 -07:00
Mike Hommey
d78150b8da Bug 758010 - Wrap operator new/delete to jemalloc on Android. r=jlebar 2012-05-31 23:49:03 +02:00
Gervase Markham
d4eb7d5782 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
917a6805ca Bug 758010 - Wrap operator new/delete on Android. r=khuey 2012-05-26 10:21:33 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
58eb5eeac0 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré
8c0c24a4a2 Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Benjamin Smedberg
ca04e9af34 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
a063d212eb 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
2eaae0a162 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
988a485ffb 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
64e116361b Bug 747322 - Fix jemalloc mmap wrapper for s390x. r=jlebar,a=npotb 2012-04-23 08:31:55 +02:00
Gian-Carlo Pascutto
4ef43a4fea Bug 743715 - Cannot build Fennec without jemalloc. r=glandium 2012-04-11 14:12:34 +02:00
Mike Hommey
57df697d04 Bug 738709 - Don't call pthread_atfork from jemalloc on OSX. r=jlebar 2012-04-05 09:20:54 +02:00
Mike Hommey
46646a522a 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
31cd5a39fe Bug 736963 - Move jemalloc'ed strdup/strndup definitions. r=jlebar,r=ted 2012-03-31 09:23:19 +02:00
Mike Hommey
c862bf7314 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
bd6a8730b3 Bug 736959 - Don't wrap PR_Malloc and other NSPR allocation functions. r=khuey 2012-03-22 08:01:27 +01:00
Michael Wu
bb2b37ccda Bug 737175 - Make jemalloc build on ICS, r=khuey,glandium 2012-03-18 23:33:46 -04:00
Justin Lebar
26c4e652c3 Bug 731696 - Revert jemalloc isalloc test code added in bug 703087. r=khuey 2012-02-29 11:25:00 -05:00
Jonathan Kew
fc48b61693 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
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Benjamin Smedberg
3c82e7f486 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
89ee340e7c 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
00eac5024e Bug 717441 - Backout bug 715093 / changeset d5f3e38021fd for Fennec crashes. 2012-01-12 21:35:48 +01:00
Ms2ger
70afb05660 Bug 715093 - Get rid of MOZALLOC_INLINE in favour of MOZ_ALWAYS_INLINE; r=glandium 2012-01-11 09:22:16 +01:00
Mike Hommey
567913809a Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00
Jacek Caban
2e48d58fae Bug 712584 - Properly use .def files on mingw builds r=khuey 2011-12-27 10:51:53 +01:00
Jeff Walden
19508c446b Bug 711775 - Implement MOZ_NORETURN to encapsulate this-function-doesn't-return semantics. r=cjones
--HG--
extra : rebase_source : d56f3ef47e11c42b5fe6a442e13fd6202208914f
2011-12-17 16:45:29 -05:00
Nicholas Nethercote
688c469bc9 Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
Ben Turner
6e5ac8e11d Bug 703660 - IndexedDB: Compress structured clone data with Snappy. r=sicking+khuey. 2011-12-07 15:24:20 -08:00
Phil Ringnalda
26f6d8a9de Back out 8941e2b7a0bf (bug 703660) for Windows PGO build failures 2011-12-07 08:41:02 -08:00
Ben Turner
e7415db369 Bug 703660 - IndexedDB: Compress structured clone data with Snappy. r=sicking+khuey.
--HG--
extra : transplant_source : 55%9D%86m%D8%18%87J%5C%E1%E3%93P%AF.%B7%D0%8EQ
2011-12-07 00:10:13 -08:00
Igor Bukanov
7d78054eb7 bug 571209 - option to use compile-time constants, not parameters configured at runtime, for maximal jemalloc performance. r=justin.lebar 2011-10-26 10:17:34 +02:00
Nicholas Nethercote
f102556f32 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00