Mike Hommey
c917606f95
Bug 1043692 - Move DIST_INSTALL to moz.build. r=gps
2015-05-12 07:55:22 +09:00
Ehsan Akhgari
9009ff92f8
Bug 1147243 - Build memory/jemalloc in unified mode; r=glandium
2015-04-29 09:47:36 -04:00
Mike Hommey
b35abc35cc
Bug 1139357 - Make jemalloc3's --without-export actually work. r=njn
2015-03-10 10:01:53 +09:00
Mike Hommey
abd5c031e0
Bug 1138705 - Preserve LastError when calling TlsGetValue. r=njn
...
TlsGetValue has a semantic difference with pthread_getspecific, in that it
can return a non-error NULL value, so it always sets the LastError.
But allocator callers may not be expecting calling e.g. free() to change
the value of the last error, so preserve it.
2015-03-04 14:40:09 +09:00
Mike Hommey
cefaffffe9
Bug 762449 - Make jemalloc's opt.lg_dirty_mult work as documented. r=njn
2015-03-02 07:35:28 +09:00
Mike Hommey
af38583e2e
Bug 1121314 - Avoid needing the arena in chunk_alloc_default to avoid possible infinite loops involving a0malloc. r=njn
...
The infinite loop happens if chunk_alloc_arena needs to be called when a0malloc
is called. It in turn calls chunk_alloc_default, which uses tsd, which calls
a0malloc if it's the first time the tsd is being gotten from the current thread.
tsd only uses a0malloc on platforms where there is no native thread local storage
support, which, for Mozilla, essentially means anything that is not Linux.
But the tsd is only neededto get the dss precedence setting of the given arena.
That setting has no effect when dss is disabled, which it is on Windows and Mac.
Moreover, the default setting for dss precedence is "secondary", which means
jemalloc only tries dss after it failed to get memory with mmap/VirtualAlloc.
Considering the cases where mmap/VirtualAlloc would fail essentially means
there is shortage of address space, sbrk() is not going to have much more
success, so we might as well disable dss support on all platforms, avoiding
the infinite loop problem on Android and B2G as well.
2015-01-14 15:18:49 +09:00
Guilherme Goncalves
750b113679
Bug 899126 - Part 1.5 - Implement bookkeeping for jemalloc3. r=glandium
2014-12-29 13:37:24 -08:00
Guilherme Goncalves
c41a18c8d2
Bug 1112566 - Add a isblank definition for MSVC < 2013. r=glandium
2014-12-23 15:27:19 +09:00
Guilherme Goncalves
aa02623d99
Bug 1112566 - Move variable declaration to the top its block for MSVC compatibility. r=jasone,r=glandium
2014-12-23 15:27:18 +09:00
Guilherme Goncalves
60eb32a82c
Bug 1094275 - Update the in-tree copy of jemalloc3 to commit b4acf73. r=glandium
2014-12-17 09:14:48 +09:00
Mike Hommey
47c853314f
Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
...
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.
Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.
Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
ed70c5f377
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Mike Hommey
ec2824d0be
Bug 1046045 - Remove ${srcroot} from cfghdrs_in, cfgoutputs_in and cfghdrs_tup in jemalloc's configure. r=mshal
2014-08-01 15:55:56 +09:00
Mike Hommey
a33d7d67e6
Bug 1036894
part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
...
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Patrick Wang (Chih-Kai Wang)
01cc0c8352
Bug 1026864: prevent malloc from calling wrapped pthread_mutex_lock and get rid of LibcAllocator. r=cyu,r=glandium,r=khuey
2014-06-25 10:44:58 +08:00
Mike Hommey
33996c49d0
Bug 1024097 - Allow jemalloc to build with clang-cl. r=njn
2014-06-13 08:44:19 +09:00
Mike Hommey
d895ddcdda
Bug 1019881 - Ensure the default purgeable zone is after the default zone on OS X. rs=njn
2014-06-11 11:07:27 +09:00
Chris Peterson
e64776099d
Bug 1019381 - Cherrypick clang and gcc warning fixes from upstream jemalloc. r=glandium
2014-05-28 19:02:11 -07:00
Mike Hommey
550b98dd2a
Bug 965870 - Check for __builtin_ffsl before ffsl. r=mshal
...
Cherry-picked from 1a3eafd1b0
2014-06-06 08:17:02 +09:00
Mike Hommey
cd80276444
Bug 965870 - Try to use __builtin_ffsl if ffsl is unavailable. r=mshal
...
Cherry-picked from 9c3a10fdf6
2014-06-06 08:15:58 +09:00
Mike Hommey
529eddba7d
Bug 945582 - Don't use jemalloc3 C99 headers with MSVC versions that have (some) C99 support. r=mshal
...
--HG--
rename : memory/jemalloc/src/include/msvc_compat/inttypes.h => memory/jemalloc/src/include/msvc_compat/C99/inttypes.h
rename : memory/jemalloc/src/include/msvc_compat/stdbool.h => memory/jemalloc/src/include/msvc_compat/C99/stdbool.h
rename : memory/jemalloc/src/include/msvc_compat/stdint.h => memory/jemalloc/src/include/msvc_compat/C99/stdint.h
2014-05-31 09:54:23 +09:00
Mike Hommey
631f8f3393
Bug 1014308 - Update jemalloc3 to upstream 3.6.0. r=njn,r=mshal
2014-05-23 07:26:40 +09:00
Ehsan Akhgari
996229d3d0
Bug 973403 - Move the LOCAL_INCLUDES in memory to moz.build; r=glandium
2014-02-18 01:05:51 -05:00
Marcin Juszkiewicz
420122fd2c
Bug 963028 - AArch64 support for jemalloc. r=froydnj
2014-01-23 16:34:31 -05:00
Mike Shal
ddecae52a4
Bug 875013 - Remove VPATH; r=glandium
2013-11-21 14:57:06 -05:00
Mike Hommey
8fd06cf41b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Ehsan Akhgari
e58130769b
Backed out changeset c3d41ab0a2df (bug 940218) for causing bug 941616
...
--HG--
extra : rebase_source : c0d9b2840ddb6a6b88b86cfc3e3a6810ac9e37e2
2013-11-21 14:28:52 -05:00
Nathan Froyd
fb9e458abe
Bug 941616 - fix jemalloc build for --enable-replace-malloc; r=ehsan
2013-11-21 09:46:32 -05:00
Chris Peterson
4be77ac908
Bug 940218 - Build memory/jemalloc and friends in unified mode. r=glandium
2013-11-17 01:16:36 -08:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Cykesiopka
d2f6b7333c
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Ms2ger
00cffa4842
Bug 923489 - Part a: qualify paths in memory/jemalloc/; r=gps
2013-10-05 12:18:36 +02:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Ms2ger
a4e67abf5e
Bug 897921 - Remove some dead assignments in makefiles; r=mshal
2013-08-02 09:03:55 +02:00
Brian O'Keefe
11bcc1cd9e
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Joey Armstrong
05956ba0cd
bug 870406: move CSRCS to mozbuild (config batch #2 ) r=mshal
2013-06-04 11:08:44 -04:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Gregory Szorc
282edab58a
Bug 784841 - Part 18c: Convert /memory, /mfbt, /mozglue; r=ted f=Ms2ger
2013-02-25 12:47:17 -08:00
Mike Hommey
e9c6d8bfe1
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
77fe00e25b
Bug 815071 - Update jemalloc3 to commit 6eb84fb. r=jlebar
2012-12-07 09:32:23 +01:00
Mike Hommey
212463a61a
Bug 799090 - Update jemalloc3 to commit d0ffd8e. r=jlebar
2012-10-17 16:29:28 +02:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +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