Commit Graph

204 Commits

Author SHA1 Message Date
Jim Mathies
0c5bc9d060 Bug 1080687 - Reduce system shutdown order of child processes so the chrome process shuts down first. r=gabor 2015-07-16 06:24:34 -05:00
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Mike Hommey
dba327c463 Bug 833117 - Replace g_slice_set_config() with G_SLICE environment variable. r=nfroyd,r=karlt
Using g_slice_set_config() fails with newer glib because the slice allocator
now has a static constructor that runs when glib is loaded, consequently
emitting a noisy error message which confuses people into believing it's the
root of their problems.

The only way left to force the slice allocator to use "system" malloc (in
practice, jemalloc) is to set the G_SLICE environment variable to
always-malloc, and that needs to happen before glib is loaded.

Fortunately, the firefox and plugin-container executables don't depend on
glib. Unfortunately, webapprt does, so the problem remains for web apps
running through it. xpcshell and other executables that depend on libxul
directly (as opposed to loading it dynamically) are not covered either.
2015-07-10 09:56:05 +09:00
Brad Lassey
78dfaae331 bug 1161166 - Use mach shared memory for shared memory on OSX r=billm 2015-06-17 00:38:38 -04:00
Eric Rahm
b72a862d28 Bug 1172138 - Call PR_LogInit before profiler_init. r=froydnj 2015-06-09 17:44:46 -07:00
Wes Kocher
f36a4ced9d Backed out changeset 1be05715932f (bug 1161166) 2015-06-09 15:12:21 -07:00
Brad Lassey
ed01da1434 Bug 1161166 - Use mach shared memory for shared memory on OSX. r=billm 2015-06-09 09:56:50 -04:00
Jim Mathies
25641822a4 Bug 1156857 - Properly init telemetry histogram data for child processes. r=bsmedberg 2015-05-27 12:59:13 -05:00
Ryan VanderMeulen
0d76ee39f3 Backed out changeset 41b2612eba71 (bug 1156857) for regressing bug 1100501. 2015-04-30 11:08:27 -04:00
Georg Fritzsche
d9010129af Bug 1156857 - Fix StatisticsRecorder not being initialized in content processes. r=jimm 2015-04-30 14:00:58 +02:00
Kartikaya Gupta
69c50300c9 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Bob Owen
734bb8f7d2 Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Nicolas Silva
827a9d96f1 Bug 1014355 - Init X with thread-safe mode in child processes. r=karlt 2015-03-30 13:30:36 +02:00
David Major
391bf7e3ae Bug 1132663 - Part 1: Use the DLL blocklist in plugin-container processes. r=bsmedberg 2015-02-18 14:09:32 +13:00
Nicholas Nethercote
ee41df7dc2 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
1ee96e7527 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
0a02b5d31c Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Chris Peterson
8098954ffb Bug 1120312 - Fix -Wunused-variable warning in toolkit/xre and mark directory as FAIL_ON_WARNINGS. r=tlee 2015-01-07 19:35:19 -08:00
Jim Mathies
68573b520c Bug 1117140 - Avoid allocating some resources in the gmp child process which we have no use for. r=bsmedberg 2015-01-07 17:35:04 -06:00
James Willcox
beaca02edb Bug 1110271 - Use the default message pump for GMP children r=joshmoz
--HG--
extra : rebase_source : 0c303d2ced297d33997e0dc061bba1e92fe47113
extra : histedit_source : e7163bf19fb9e3f7f40273baa63a9e65d9b0b1cd
2014-12-15 16:04:21 -06:00
Bob Owen
fceb0dd420 Bug 928044 Part 2: Enable the content sandbox by default on Windows with an open policy. r=tabraldes,glandium,jimm
--HG--
rename : security/sandbox/win/src/warnonlysandbox/wosCallbacks.h => security/sandbox/win/src/logging/loggingCallbacks.h
rename : security/sandbox/win/src/warnonlysandbox/wosTypes.h => security/sandbox/win/src/logging/loggingTypes.h
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.cpp => security/sandbox/win/src/logging/sandboxLogging.cpp
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.h => security/sandbox/win/src/logging/sandboxLogging.h
2014-11-29 17:12:18 +00:00
Chris Pearce
c8decd7131 Bug 1088488 - Add GMPLoader interface to encapsulate loading GMPs, pass that to XRE_InitChildProcess. r=jesup,r=bsmedberg,r=glandium 2014-11-14 21:26:24 +13:00
Bob Owen
46c8a13d45 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Carsten "Tomcat" Book
b3af4cd10a Backed out changeset 5adabc2818b2 (bug 1018966) for b2g bustage 2014-09-04 15:14:41 +02:00
Bob Owen
9f262068b7 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg r=tabraldes
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Ehsan Akhgari
7e2738ff79 Bug 1060997 - Fix more bad implicit constructors in IPC; r=smaug 2014-08-31 21:12:55 -04:00
Kershaw Chang
77f3798762 Bug 1020204 - Allow creating nested oop MozApp iframe. r=khuey, r=kanru 2014-08-13 02:18:00 -04:00
Bill McCloskey
9fea778e5c Bug 1045847 - Fix review comments 2014-08-08 17:55:22 -07:00
Bill McCloskey
586f04d680 Bug 1045847 - Initialize sProcessType really, really early (r=khuey) 2014-08-08 17:52:12 -07:00
Thinker K.F. Li
a1b2f6640e Bug 977026 - Part 3: Preload XPT before calling fork. r=bsmedberg 2014-07-25 20:52:00 -04:00
Mike Hommey
c1aff765dd Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE. 2014-07-29 14:50:41 +09:00
Thinker K.F. Li
153fc94849 Bug 977026 - part 3: preload XPT before calling fork. r=bsmedberg 2014-07-25 20:52:00 +02:00
Jan de Mooij
f3876da607 Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Martin Stransky
63127aad69 Bug 968196 - Use GDK error handler for X window error events. r=karlt 2014-06-16 04:54:00 -04:00
Victor Porof
928e1cef59 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Bas Schouten
720df78442 Bug 1009590: Deal with non-ui-thread IPDL usage on Windows. r=bent 2014-05-18 05:16:51 +02:00
Josh Aas
a335294c66 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 22:05:46 -05:00
Phil Ringnalda
652a096549 Back out a4b51aff4b3c (bug 957928) for build bustage
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
303ffbe0e1 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 18:53:03 -05:00
Kyle Huey
f7eafc09a9 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Blake Kaplan
438055efbc Bug 980097 - Make copying the PID easier. r=khuey 2014-03-06 08:52:54 -05:00
Jacek Caban
74601a78d4 Bug 944913 - Fixed char16_t/wchar_t mismatch in tollkit/. r=ehsan
--HG--
extra : rebase_source : c33427dd7c1c2db3d2741b8c2e0d1b4a0359a0a4
2013-12-03 16:07:22 +01:00
Cervantes Yu
12dee8f42b Bug 890870 - Start freezing the Nuwa process after PreloadSlowThings(). r=khuey 2013-10-01 19:28:44 +08:00
Birunthan Mohanathas
c8d9f9225c Bug 784739 - Switch from NULL to nullptr in toolkit/; r=ehsan 2013-10-10 16:36:42 -04:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
cee2c827a4 Bug 771765 - Support template content process, part 8: process initialization flow changes. r=khuey
Changes initialization code for the template process:
* Let the process run for NUWA_PREPARATION_TIME ms and then start freezing the threads.
* Delay android binder thread pool creation after the content process is forked from the template and other thread recreation has finished.
* Poke the app shell after the content process is forked from the template.
2013-06-03 18:14:46 +08:00
Mark Hammond
6df0bf43c6 Bug 904323 - use NS_DebugBreak() on Windows instead of sleeping to debug child processes. r=bent 2013-08-17 09:38:17 +10:00
Mike Shal
fb38e981d0 Bug 889787 - Define XP_LINUX globally; r=ted 2013-07-16 17:10:10 -04:00
David Anderson
a52a14df6e Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug). 2013-07-03 00:24:32 -07:00
Mark Hammond
0f0f2c2c3f Bug 875214 - child processes on Windows now attach to the parent's console. r=aklotz 2013-05-30 23:23:50 +10:00
Julian Seward
38e97ed8fa Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard. 2013-05-28 14:03:38 +02:00