Commit Graph

40 Commits

Author SHA1 Message Date
Cervantes Yu
b2307503dd Bug 1155547, Part 2: Create PNuwa protocol (managed by PBackground) for forking content processes. r=khuey
This allows us to send a sync fork request to the Nuwa process when we need one but there is no
spare process available. After an app is launched, the request to fork a spare process is still
handled asynchronously.
2015-07-31 15:25:27 +08: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
Ting-Yu Chou
3055606b7d Bug 1050122 - Part 2: Disable preallocate when proc loader is not initialized. r=khuey 2014-11-01 13:28:33 +08:00
Andrew McCreight
c979f253c0 Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Cervantes Yu
6290c22fa6 Backed out 2 changesets (bug 1138620)
Backed out changeset e60b4b01c05d (bug 1138620)
Backed out changeset 52d49dd25d6d (bug 1138620)
2015-04-24 15:05:44 +08:00
Cervantes Yu
04a88e9a92 Bug 1138620 - Part 2: Test case for NS_NewUnmonitoredThread(). r=khuey 2015-04-21 18:23:48 +08:00
Cervantes Yu
bf7032508e Bug 1142229, part 1 - Clean up and refactor test cases for the Nuwa process. r=mrbkap 2015-04-09 15:26:49 +08:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ehsan Akhgari
577b77e65e Follow-up to bug 1073081 - Fix the non-unified build bustage 2014-12-13 10:26:22 -05:00
Botond Ballo
f7b1897048 Bug 1073081 - Fix -Wreorder warnings. r=ehsan
--HG--
extra : source : bb7467946fb9144514a5460a7103956449595d21
2014-11-26 17:57:40 -05:00
Botond Ballo
ca3c178c12 Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
0315765d81 Bug 1073081 - Fix -Wdelete-non-virtual-dtor warnings by marking some classes as MOZ_FINAL. r=ehsan
--HG--
extra : source : 7a909c534cf723b252ea5b0a225a6656399b5b2e
2014-11-24 18:38:23 -05:00
Ryan VanderMeulen
cb8a31e3ed Backed out changesets bc3b048b416d and 773b27cd166b (bug 1050122) for regression B2G debug test runtimes dramatically. 2014-11-03 12:46:43 -05:00
Ting-Yu Chou
90479ea0d6 Bug 1050122 - Part 2 - Disable preallocate when proc loader is not initialized. r=khuey 2014-11-01 13:28:33 +08:00
Ting-Yu Chou
c24a6d751d Bug 1057065 - Remove obsolete code causes extra preallocated process to complement the patch of bug 1033618. r=khuey
--HG--
extra : rebase_source : 243e1288e44bd1d6560bdf8de479af0f9888f95e
2014-08-26 10:22:21 +08:00
Bobby Holley
30602c16ab Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
8c15c6ab96 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
b6d099f558 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Benoit Jacob
84b13c683d Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Patrick Wang (Chih-Kai Wang)
fb6acec257 Bug 1009398: Close preallocated process when Nuwa is dead. r=khuey 2014-05-15 11:04:32 +08:00
Cervantes Yu
38a22ee20c Bug 988689: redirect pref updates to the frozen Nuwa process to its forked child. r=khuey 2014-05-09 19:30:42 +08:00
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Cervantes Yu
447cd2fb57 Bug 992752: Don't wait for the delayed prellocated process when launching an app. r=khuey 2014-04-07 17:48:52 +08:00
Cervantes Yu
16d0000239 Bug 977359 Part 3: Remove runtime checks for Nuwa deadlock in debug build. r=khuey 2014-04-15 21:27:56 +08:00
Fabrice Desré
c628005ef0 Bug 950266 - Re-enable the Nuwa process on B2G by default r=me 2014-01-14 16:00:25 -08:00
Ryan VanderMeulen
852b853e8f Backed out changeset ca2ab9f4ac9c (bug 950266) for suspicion of causing bug 966582. 2014-02-01 14:39:56 -05:00
Fabrice Desré
cc03b80fb9 Bug 950266 - Re-enable the Nuwa process on B2G by default r=me 2014-01-14 16:00:25 -08:00
Wes Kocher
baa8759bfe Backed out 2 changesets (bug 950266) for making test_webapps_actor.html permaorange and mochitest-9's log permaoverflowing
Backed out changeset e3e75f44864b (bug 950266)
Backed out changeset 2963f15842fc (bug 950266)
2014-01-30 17:24:11 -08:00
Fabrice Desré
5028bac678 Bug 950266 - Re-enable the Nuwa process on B2G by default r=me 2014-01-14 16:00:25 -08:00
Kai-Zhen Li
821e3939af Bug 952693 - Set priority of NUWA to hal::PROCESS_PRIORITY_MASTER. r=khuey 2013-12-22 17:21:02 +08:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Cervantes Yu
dea93c898a Bug 938470 - Part 1: Make nsFrameLoader async in loading a remote iframe to always use Nuwa-spawned app processes. r=smaug 2013-11-19 19:03:30 +08:00
Patrick Wang
fde745a83e Bug 948545: Nuwa process shouldn't exist if dom.ipc.processPrelaunch.enabled is false r=khuey 2013-12-13 16:38:08 +08:00
Patrick Wang
ce85933e37 Bug 930282: Part 3: Don't fork after xpcom shutdown. r=khuey 2013-12-09 22:42:48 +08:00
Patrick Wang
fa6b4e0081 Bug 922465: Automated test for nuwa process. r=khuey 2013-10-24 21:49:49 +08:00
Phil Ringnalda
b03a02be61 Backed out 5 changesets (bug 944665, bug 922465, bug 930282) for b2g xpcshell crashes
CLOSED TREE

Backed out changeset c4f970dd2a4f (bug 930282)
Backed out changeset 625f5303fc68 (bug 930282)
Backed out changeset bf8e90edd152 (bug 922465)
Backed out changeset a21b57c78253 (bug 944665)
Backed out changeset 9275a2efc9e3 (bug 944665)

--HG--
extra : rebase_source : bfbe3786e0db2073e26dc383b89525d22be0b3bd
2013-12-08 15:32:15 -08:00
Patrick Wang
f240c4de4e Bug 922465: Test Nuwa creation. r=khuey 2013-12-07 10:31:04 +08:00
Patrick Wang
1d1cdf444c Bug 928995: Move Nuwa to PreallocatedProcessManager. r=bent 2013-11-22 11:25:34 +08:00
Ehsan Akhgari
9890a8c148 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Justin Lebar
8af5a089ab Bug 844323 - Part 1: Move process preallocation logic out of ContentParent and into a new file, PreallocatedProcessManager. r=bent
Also make the PreallocatedProcessManager respond to pref changes.  This allows us to write a test involving the preallocated process.  Making this change was the main motivation for this patch; I moved the logic out of ContentParent because with the pref-watching code it was becoming unweildy.
2013-04-25 20:53:26 -04:00