Commit Graph

34 Commits

Author SHA1 Message Date
Mike Hommey
6bc0fa9501 Bug 804303 part 2 - Add ability to dynamically replace or supplement jemalloc implementation. r=jlebar,r=khuey 2012-12-07 09:32:24 +01:00
Mike Hommey
95d176978d Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey
--HG--
rename : memory/build/extraMallocFuncs.c => memory/build/jemalloc_config.c
rename : memory/mozjemalloc/jemalloc.h => memory/build/mozmemory.h
rename : memory/build/extraMallocFuncs.c => memory/build/mozmemory_wrap.c
2012-12-07 09:32:24 +01:00
Gabriele Svelto
1e1d781bc1 Bug 805855 - Add an extra function to jemalloc to free dirty unused pages. r=glandium 2012-11-08 20:06:50 +01:00
Michael Wu
fc15bd28a1 Bug 799805 - Avoid using bionic's fork(), r=cjones 2012-10-25 19:34:06 -04:00
Jan Beich
1f2244b4e3 Bug 788955 - Without --enable-jemalloc detect and use jemalloc3 in libc. r=glandium 2012-10-17 16:36:49 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Dave Hylands
3fa91a8635 Bug 773414 - Add PR_DuplicateEnvironment function. r=cjones
From 2236c867cfc9b25bc1327206da8b4b29a91f65e0 Mon Sep 17 00:00:00 2001
Need to reimplement PR_GetEnv and PR_SetEnv so that we can access
to the lock. This is needed by PR_DuplicateEnvironment, which
was moved to ipc/chromium/src/base/process_util_linux.cc otherwise
the alloc/frees don't get matched up properly.

This is tempoarary until we can get PR_DuplicateEnvironment landed
into NSPR.
---
 configure.in                 |    2 +-
 mozglue/build/BionicGlue.cpp |   44 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 44 insertions(+), 2 deletions(-)
2012-07-12 13:28:14 -07:00
Ed Morley
6c00eca83e Backout 41f4bdd4b6bd (bug 772734), af578c454d1e (bug 773414) for XUL Android bustage, on a CLOSED TREE 2012-07-18 09:51:44 +01:00
Dave Hylands
4906fffa4f Bug 773414 - Add PR_DuplicateEnvironment function. r=cjones
From b339e5a9ec0218d6ef947b65f95a0da944197449 Mon Sep 17 00:00:00 2001
This is a hacked up version of PR_DuplicateEnvironment which
we can use until such time as we can get a version landed in
NPSR
---
 configure.in                 |    2 +-
 mozglue/build/BionicGlue.cpp |   58 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 58 insertions(+), 2 deletions(-)
2012-07-12 13:28:14 -07:00
Mike Hommey
d145a2d1a8 Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Mike Hommey
58718e5c70 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
7a97c993d4 Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
3331a294da Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
62944180d5 Bug 580408 - Glue for jemalloc 3.0.0. r=khuey 2012-06-07 10:41:59 +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
7407614648 Backout changeset 81c2e2ea2dbf (bug 746794) because of bug 758648 2012-05-25 18:21:03 +02:00
Mike Hommey
81d7a61a74 Bug 746794 - Always use the STL wrappers when #pragma visibility is supported. r=ted 2012-05-25 08:31:33 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
Fabrice Desré
af97db1f76 Bug 749695 - building with --disable-jemalloc fails [r=mwu] 2012-04-30 09:32:57 -07:00
Michael Wu
a740795b8b Bug 738561 - Cleanup mozglue for gonk, r=glandium 2012-03-29 18:32:44 -07: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
Andreas Gal
31c8e953cd add mozglue support for gonk (bug 738559, r=glandium) 2012-03-23 00:40:14 -07: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
0bb4ae5805 Bug 734046 - Don't export __aeabi_* symbols from libmozglue.so on ARM. r=ted 2012-03-13 09:47:03 +01:00
Mike Hommey
526bd939af Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey 2012-02-13 15:48:23 +01:00
Mike Hommey
c893472974 Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage 2012-02-13 16:35:13 +01:00
Mike Hommey
ac9a4a0719 Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey 2012-02-13 15:48:23 +01:00
Jon Buckley
777e956cfd Bug 716397. Fix mozglue package warning on Linux. f=sgautherie r=khuey. 2012-01-20 12:49:23 +01:00
Mike Hommey
e27024fab6 Bug 683127 part 2 - Build system glue for the new linker. r=khuey 2012-01-11 11:10:59 +01:00
Mike Hommey
7a973ad797 Bug 709776 - Move tri-licensed Android library parts under mozglue/. r=blassey
--HG--
rename : other-licenses/android/APKOpen.cpp => mozglue/android/APKOpen.cpp
rename : other-licenses/android/APKOpen.h => mozglue/android/APKOpen.h
rename : other-licenses/android/Makefile.in => mozglue/android/Makefile.in
rename : other-licenses/android/nsGeckoUtils.cpp => mozglue/android/nsGeckoUtils.cpp
2011-12-12 16:22:25 +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