Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
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
accessible Bug 1119979 - hide IPC a11y architecture under pref, r=davidb 2015-01-12 14:37:40 -05:00
addon-sdk Backout 2815bfd2ccb5 (bug 1114752) for apparently breaking b2g builds and tests on a CLOSED TREE 2015-01-11 22:02:02 -08:00
b2g Bug 1005863 - Part 2: Only package langGroups.properties for OS X and Windows. r=hsivonen 2015-01-14 07:35:48 +02:00
browser Bug 1005863 - Part 2: Only package langGroups.properties for OS X and Windows. r=hsivonen 2015-01-14 07:35:48 +02:00
build merge fx-team to mozilla-central a=merge 2015-01-13 14:27:06 +01:00
caps Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
chrome Bug 1119264 - Mark virtual overridden functions as MOZ_OVERRIDE in chrome; r=bsmedberg 2015-01-12 23:26:28 -05:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-01-12 15:33:37 -05:00
content Remove testcase for bug 894137 because it causes assertions in other tests 2014-11-24 08:41:42 -08:00
db/sqlite3 Bug 1108328 - Upgrade SQLite to version 3.8.7.4. r=mak 2014-12-10 10:02:17 -05:00
docshell Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
dom Bug 679494 - Follow-up: Fix bug number and path in test. r=me 2015-01-14 07:30:42 +02:00
editor Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
embedding Bug 1119818 - Bump various UUIDs that were missed when IDL changes landed. r=jib, r=jdm, r=gavin, r=bz, a=me 2015-01-12 10:44:18 -05:00
extensions Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
gfx Bug 1121065 - Ensure Software Vsync TimeStamp is never in the future. r=kats 2015-01-13 19:30:29 -08:00
hal Bug 1082290 - Add memory cgroup support to FxOS process control. r=gsvelto 2015-01-13 12:12:32 -08:00
image Backed out 5 changesets (bug 1079627) for causing B2G crashes on a CLOSED TREE. 2015-01-12 13:17:52 -05:00
intl Bug 1005863 - Part 1: Use props2arrays for langGroups.properties. r=hsivonen 2015-01-14 07:30:49 +02:00
ipc Backed out changeset f7d82a8a8e94 (bug 1118618) for Bustage on a CLOSED TREE 2015-01-13 08:44:29 +01:00
js Bug 1119403 - Suppress read() -Wunused-result warning in jsmath.cpp's PRNG and call rand_s() twice. r=luke 2015-01-08 15:01:18 -08:00
layout Bug 1110277 patch 8 - Add test for passing lazy construction parameters through, using flexbox reframe case. r=bzbarsky 2015-01-13 21:03:13 -08:00
media Bug 1116056 - Change MOZ_ASSERT() to NS_WARNING() in Box::Read(); r=jya 2015-01-14 16:57:14 +13:00
memory Bug 1121314 - Avoid needing the arena in chunk_alloc_default to avoid possible infinite loops involving a0malloc. r=njn 2015-01-14 15:18:49 +09:00
mfbt Backed out changeset 11aebde6e809 (bug 1120059) because of build bustage on Windows 2015-01-13 00:26:16 -05:00
mobile Bug 1005863 - Part 2: Only package langGroups.properties for OS X and Windows. r=hsivonen 2015-01-14 07:35:48 +02:00
modules Bug 1118607 - Mark virtual overridden functions as MOZ_OVERRIDE in modules/libpref; r=bsmedberg 2015-01-12 16:31:04 -05:00
mozglue Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
netwerk Bug 1100024: CLOSED TREE Backout https://hg.mozilla.org/integration/mozilla-inbound/rev/671ad56e6e12 for causing crashes on ClassifyLocal lookups (r=backout) 2015-01-12 10:05:58 -08:00
nsprpub Bug 1120778: Update NSPR to NSPR 4.10.8 beta 3 (NSPR_4_10_8_BETA3), r=me 2015-01-12 19:29:56 -08:00
other-licenses Bug 1090535 - Add Windows Firewall whitelist entry. r=bbondy 2014-12-26 13:57:33 -08:00
parser Bug 1118417 - Mark virtual overridden functions as MOZ_OVERRIDE in parser; r=hsivonen 2015-01-12 10:19:21 -05:00
probes Bug 1041795 - Disable system libs when generating DTrace probes. f=sfink f=ginn.chen 2014-11-04 02:01:00 +01:00
profile Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
python No bug - Fix typo in mozconfig output message. r=me 2015-01-12 14:51:31 -08:00
rdf Bug 1119257 - Mark virtual overridden functions as MOZ_OVERRIDE in rdf; r=bsmedberg 2015-01-12 16:31:45 -05:00
security Bug 1118122: Reland Bug 1115903, Part 2: Delete most defaulted assignment operators and some defaulted copy constructors, r=jcj 2015-01-12 23:12:01 -08:00
services Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-01-12 15:33:37 -05:00
startupcache Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
storage Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
testing Bug 1120630 - Skip tests failing with e10s enabled.;r=jgriffin 2015-01-13 21:27:26 -05:00
toolkit merge mozilla-inbound to mozilla-central a=merge 2015-01-13 14:24:21 +01:00
tools Bug 1120126 - Fix crash in RtlVirtualUnwind when starting the Gecko profiler on Win64. r=dmajor. 2015-01-12 17:58:33 -08:00
uriloader Bug 1120117 - Need to import Services.jsm in child process before using it. r=dkeeler 2015-01-12 15:33:00 +01:00
view Bug 1120211 - Don't force the innerwindow size to the outerwindow size if the viewport is overridden. r=dbaron 2015-01-11 18:26:39 -05:00
webapprt Bug 1116775 - Handle rejection in WebappManager::doUninstall. r=myk 2014-12-31 07:41:00 +01:00
widget merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
xpcom Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-01-12 15:33:37 -05:00
xpfe Bug 1118605 - Mark virtual overridden functions as MOZ_OVERRIDE in xpfe/appshell; r=bsmedberg 2015-01-12 16:30:52 -05:00
xulrunner Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
.clang-format Bug 965120 - Use .clang-format to set tree default format; r=gps 2014-01-30 14:27:44 +13:00
.clang-format-ignore Bug 967361 - Fix .clang-format-ignore on Windows. r=gps 2014-02-04 17:25:04 +13:00
.gdbinit Backed out changeset 047d21f101de (bug 846018) 2014-11-13 17:11:25 -05:00
.gitignore Bug 1098239 - Rewrite mobile/android Gradle integration. r=me 2014-12-22 19:49:04 -08:00
.hgignore Bug 1098239 - Rewrite mobile/android Gradle integration. r=me 2014-12-22 19:49:04 -08:00
.hgtags No bug - Tagging mozilla-central 2c951493eef5 with FIREFOX_AURORA_37_BASE a=release DONTBUILD CLOSED TREE 2015-01-12 15:30:49 -05:00
.lldbinit Bug 960300 - Put a .lldbinit in the objdir and in dist/bin/, which load the .lldbinit in topsrcdir. r=glandium 2014-01-21 14:47:05 +11:00
aclocal.m4 Bug 1117068 - Part b: Remove checks for GCC PR 39608; r=mshal 2015-01-05 19:18:58 +01:00
Android.mk
AUTHORS
client.mk Backed out changeset b30422149e3e (bug 1082323) because this version is terribly broken. 2014-10-15 14:55:36 +09:00
client.py Bug 988724: Remove webidl updating bits from client.py that are long dead. r=glandium 2014-04-01 11:33:27 +08:00
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-01-12 15:33:37 -05:00
configure.in Bug 1121314 - Avoid needing the arena in chunk_alloc_default to avoid possible infinite loops involving a0malloc. r=njn 2015-01-14 15:18:49 +09:00
LEGAL
LICENSE
mach Bug 1043144 - Don't write machc bytecode file; r=mshal 2014-08-05 10:39:24 -07:00
Makefile.in Bug 910781 - add support for FINAL_TARGET_FILES; r=gps 2014-07-23 13:56:25 -04:00
moz.build Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
mozilla-config.h.in Bug 976898 - Move the sdkdecls.h force-include out of the build system; r=bbondy,glandium 2014-02-28 08:17:22 -05:00
README.txt No bug: the OVERRIDE HOOK is stupid. 2014-01-21 08:23:43 -08:00

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/