Commit Graph

4587 Commits

Author SHA1 Message Date
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
Mike Hommey
ae34e96519 Backout changesets 9229135ca287 and cf4eb744f2e1 (bug 762449) because of random oranges on a CLOSED TREE. 2015-01-13 12:05:53 +09:00
Mike Hommey
3bc599c0d7 Followup for bug 762449: disable jemalloc 3 on b2g gonk builds because it breaks system binaries. r=me on a CLOSED TREE 2015-01-13 11:38:17 +09:00
Mike Hommey
fd4c0662da Bug 762449 - Enable jemalloc 3 by default, but don' make it ride the trains yet. r=njn 2015-01-13 09:30:25 +09:00
Carsten "Tomcat" Book
830e9e7d40 merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Vincent Liu
0021f83b73 Bug 1107300 - (gonk-L-Camera) [meta] Camera Android L Porting. r=Sotaro 2015-01-12 10:34:54 +08:00
Brad Lassey
0e7333b6e7 bug 1083116 - build fails: malloc_decls.h conflicting types for 'malloc_usable_size' r=glandium 2015-01-06 19:58:36 -05:00
Bruce Sun
dda75f6d63 Bug 1102703: (10/10) Enable MOZ_B2G_BT and MOZ_B2G_BT_BLUEDROID. r=shawnjohnjr 2015-01-09 13:40:02 +08:00
Jacek Caban
10ef01451e Bug 1116777 - Default to static linking on mingw. r=glandium 2015-01-09 11:41:26 +01:00
Ms2ger
6d4d5c8ab7 Bug 739601 - Rewrite (the used parts of) config/milestone.pl in python; r=gps 2015-01-09 10:24:45 +01:00
Chris Peterson
75110a0d12 Bug 1118529 - Remove MSIntTypes.h. r=Waldo 2015-01-06 21:41:15 -08:00
Ted Mielczarek
9a6971c4f8 bug 1117900 - Explicitly require Update 3 for MSVC 2013. r=glandium 2015-01-08 08:23:28 -05:00
Nicholas Nethercote
97b5d348cc Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Wes Kocher
0cf53b165b Merge inbound to m-c a=merge CLOSED TREE 2015-01-07 15:41:20 -08:00
Alexandre Poirot
e4e2e588b0 Bug 1047572 - Disable intl on mulet. r=ahal 2014-12-18 07:48:00 -05:00
Ehsan Akhgari
648fd5ffcd Bug 1117820 - Drop support for building with MSVC 2012; r=glandium 2015-01-06 16:30:02 -05:00
Ryan VanderMeulen
51d06e05f4 Bug 1114577 - Miscellaneous build system cleanups now that Windows SDK 8.1 is the minimum supported version. r=glandium 2015-01-07 11:32:07 -05:00
Ryan VanderMeulen
20d7991ef8 Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium 2015-01-07 11:32:07 -05:00
Ryan VanderMeulen
0ef93eb5c2 Bug 1114577 - Drop support for Windows SDK versions <8.1. r=glandium, f=jacek 2015-01-07 11:32:07 -05:00
Carsten "Tomcat" Book
87d1119af9 Backed out changeset 3d587e85f2a2 (bug 1083116) for bustage on a CLOSED TREE 2015-01-07 17:01:58 +01:00
Brad Lassey
ee59761e5f bug 1083116 - build fails: malloc_decls.h conflicting types for 'malloc_usable_size' r=glandium 2015-01-06 19:58:36 -05:00
Ehsan Akhgari
16193762d8 Bug 1117031 - Turn off unused argument warnings for clang-cl; r=glandium 2015-01-06 12:01:13 -05:00
Ehsan Akhgari
721832ff85 Bug 1117029 - Move the GCC minimum version checks to MOZ_TOOL_VARIABLES; r=glandium 2015-01-06 12:01:12 -05:00
Ms2ger
b7d12e4d24 Bug 1117068 - Part c: Remove NEED_CPP_UNUSED_IMPLEMENTATIONS; r=mshal
It is only used in one place, and that place is better off with MOZ_DELETE.
2015-01-05 19:18:58 +01:00
Ms2ger
16ada4e714 Bug 1117068 - Part b: Remove checks for GCC PR 39608; r=mshal
The fix is included in GCC 4.4, which is our minimum supported version.
2015-01-05 19:18:58 +01:00
Ms2ger
fa72b9efcb Bug 1117068 - Part a: Remove an obsolete opt-out to the Perl version check; r=mshal
This opt-out was introduced to avoid breaking the builds on a "btek" builder,
about which very little information can be found today.
2015-01-05 19:18:57 +01:00
Martin Stransky
b2519b99c7 Bug 1110211 - a11y update for Gtk3. r=glandium 2014-12-16 07:38:00 +01:00
Glenn Randers-Pehrson
4c80b736b4 Bug 1114360 - Update libpng to version 1.6.16. r=jmuizelaar 2014-12-23 06:44:00 +01:00
Ehsan Akhgari
4779d1e10a Backout changeset 3cc992814a7e (bug 882779) because it is no longer needed 2015-01-02 00:55:53 -05:00
Jan Beich
f0331f57be Bug 1115793 - Chase jemalloc3 version for MOZ_NATIVE_JEMALLOC after bug 1094275. r=glandium 2014-12-26 15:54:00 +01:00
Jan Beich
f4828d35f5 Bug 1115078 - Unbreak MOZ_JEMALLOC3 build on FreeBSD after bug 899126. r=glandium 2014-12-23 12:32:00 -05:00
Nathan Froyd
7f507df247 Bug 1114662 - add --enable-thread-sanitizer configure option; r=glandium
Like --enable-{address,memory}-sanitizer, this doesn't add the
appropriate -fsanitize=FOO flags; it merely sets internal defines and
the LLVM_SYMBOLIZER variable.
2014-12-22 12:54:05 -05:00
Ryan VanderMeulen
f423278de1 Backed out changeset 14f75afaad14 (bug 1095103) for causing bug 1106174. 2014-12-22 21:36:40 -05:00
Boris Chiou
df96b9fc18 Bug 1098970 - Part 7: Turn on omx decoder. r=sotaro 2014-12-21 20:00:00 +01:00
Michael Wu
e11afba824 Bug 1102266 - Update configure.in to support gonk-L, r=glandium 2014-12-17 10:50:42 -05:00
Ryan VanderMeulen
bfa139f9e9 Backed out changeset e9750b2a3e42 (bug 1102266) for B2G ICS bustage. 2014-12-19 16:11:15 -05:00
Michael Wu
ac6d093681 Bug 1102266 - Update configure.in to support gonk-L, r=glandium 2014-12-17 10:50:42 -05:00
Michael Wu
ff7b706c75 Bug 1104651 - Make valloc optional, r=glandium 2014-12-16 20:34:56 -05:00
Michael Wu
11cb060136 Bug 1111033 - Disable EME if FMP4 is disabled, r=glandium 2014-12-16 20:56:09 -05:00
Ehsan Akhgari
5ec594bb99 Bug 1084532 - Drop support for building with MSVC 2010; r=glandium 2014-12-17 10:50:15 -05:00
Nicholas Nethercote
9df23f9a1e Bug 1111948 - Fix --disable-startupcache, and re-disable the startup cache on B2G in the process. r=mshal.
--HG--
extra : rebase_source : 59d14319e67eaf349df0ecc2aa80be94865aed70
2014-12-16 18:18:21 -08: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
Carsten "Tomcat" Book
8c8eab8d31 merge fx-team to mozilla-central a=merge 2014-12-16 13:39:48 +01:00
Eugen Sawin
8049b84457 Bug 1109940 - Wrap Android DNS resolver functions. r=glandium 2014-12-15 17:05:58 +01:00
Kai-Zhen Li
79d41284ef Bug 1103827 - Remove __pthread_cond_timedwait. r=cyu 2014-12-12 16:12:21 +08:00
Jan Beich
c9404cbde6 Bug 1103858 - Enable FreeBSD wifi scanner on DragonFly. r=ted, r=jdm 2014-11-24 00:10:00 -05:00
Ryan VanderMeulen
5d3df25f61 Bug 1108328 - Upgrade SQLite to version 3.8.7.4. r=mak 2014-12-10 10:02:17 -05:00
Terrence Cole
281746bf4f Bug 1103269 - Remove the jscall tracer infrastructure; r=sfink 2014-12-04 09:41:02 -08:00
Kai Engert
c82a68a468 Bug 1088969 - Upgrade Mozilla 36 to use NSS 3.17.3, changing version numbers, only. 2014-12-01 14:34:08 +01:00
awake
58280aba48 Bug 1100632 - Remove --disable-opus option and MOZ_OPUS #define macros. r=rillian,ted 2014-11-28 01:20:00 -08:00