Commit Graph

88 Commits

Author SHA1 Message Date
Gabriele Svelto
46b9ac9667 Bug 1157030 - Stop special-casing the homescreen in the process priority manager. r=khuey, r=dhylands 2015-04-30 13:12:21 +02:00
Gabriele Svelto
962ba4dc61 Bug 1157030 - Prevent visibility changes from affecting the process priority when the screen is off. r=khuey 2015-05-11 23:03:42 +02:00
Gabriele Svelto
1ab6d98ea4 Bug 1157030 - Revert bug 1142806. r=khuey 2015-04-30 11:25:29 +02:00
Eric Rahm
06d4f75aa8 Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Kan-Ru Chen (陳侃如)
952270ac76 Bug 1142806 - Try to keep at least one foreground process at any time. r=gsvelto 2015-04-13 16:25:09 +08:00
Ehsan Akhgari
ea41d8de48 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
Gabriele Svelto
2c38bf9d96 Bug 852925 - Freeze priority changes when the screen is turned off. r=khuey 2015-03-09 16:33:33 +01:00
Gabriele Svelto
43dd3c35fa Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey 2015-02-25 09:37:38 +01:00
Chris Peterson
683330d38c Bug 1138198 - Remove unused/undefined member function ParticularProcessPriorityManager::OnChannelConnected. r=khuey 2015-02-28 22:49:57 -08:00
Gabriele Svelto
6213e9e4d0 Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands 2015-02-26 12:43:22 +01:00
Ting-Yu Chou
04a068dab8 Bug 1127189 part 1 - Avoid redundant observers from ParticularProcessPriorityManager. r=khuey 2015-02-10 11:12:26 +08:00
Kan-Ru Chen (陳侃如)
4d157a60e2 Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 16:47:32 -05:00
Ryan VanderMeulen
f90c1c2e5f Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046. 2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
4b95fd5436 Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 17:18:22 +08:00
Kershaw Chang
a84becc0df Bug 1020172 - Patch 1: Replace process id with ContentParentId type - v3. r=khuey 2014-10-24 02:28:00 +02:00
Wes Kocher
1d0d87283c Backed out 4 changesets (bug 1020172) for causing bug 1089542 a=backout
Backed out changeset 176ca4363517 (bug 1020172)
Backed out changeset 90714be8e689 (bug 1020172)
Backed out changeset 9d8c09e711f5 (bug 1020172)
Backed out changeset f895938013ff (bug 1020172)
2014-10-27 16:56:45 -07:00
Kershaw Chang
60c3c5bd52 Bug 1020172 - Part 1: Replace process id with ContentParentId type. r=khuey 2014-10-24 02:28:00 -04:00
Ehsan Akhgari
6be3d83434 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 20:49:25 -04:00
Phil Ringnalda
36b0901dec Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
b781feb7c0 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Randy Lin
d9bf95150c Bug 1055920 - [B2G][AudioChannel] Avoid to create unnecessary AudioChannel instance on child process. r=baku 2014-08-29 14:10:16 +08:00
Ting-Yu Chou
d63c20317f Bug 1054208 - Assert priority only on non-Nuwa process. r=gsvelto 2014-08-29 11:53:49 +08:00
Kyle Huey
e335e1ea81 Back out bug 874353, which is suspected of causing bug 1046956. r=me a=backout 2014-08-01 11:02:55 -07:00
Sean Lin
d73540000d Bug 874353 - Remove CPU wake lock control from ContentParent. r=gene, khuey 2014-06-24 10:51:48 +08:00
Benoit Jacob
7bbd89e2ca Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
"Kan-Ru Chen (陳侃如)"
a1ad170ee4 Bug 879475 - Part 001. Add an nsIContentParent api r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:03 +08:00
Gabriele Svelto
0197f8b3b7 Bug 1011493 - Assign the correct priority to the keyboard app. r=khuey 2014-05-30 15:29:43 +02:00
Birunthan Mohanathas
9f41043f62 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Gabriele Svelto
304430e3ea Bug 999327 - Consider the wake-locks held by the main process when computing priorities. r=fabrice 2014-05-01 15:47:26 +02:00
Birunthan Mohanathas
eeb9aaaa94 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
Patrick Wang (Chih-Kai Wang)
3894e50b12 Bug 994560: Compute CPU priority based on priority that is going to be set r=gsvelto 2014-04-18 14:28:14 +08:00
Gabriele Svelto
0d43b66585 Bug 873284 - When a content process is running at high priority do not send memory-pressure events. r=khuey 2014-02-17 17:45:29 +01:00
Cervantes Yu
037a241ec0 Bug 959966: prevent the preallocated process from being killed by the lowmem killer by rasing its priority. r=khuey,gsvelto 2014-03-13 15:24:42 +08:00
Mark Hammond
7c213dada5 Bug 935793 (part 2) - rename browser-shown notifications and send them for all frames. r=smaug 2014-02-21 09:19:18 +11:00
Gabriele Svelto
f78fa9e835 Bug 971728 - Use memory-pressure events instead of minimization when sending an app to the background. r=khuey 2014-02-12 16:50:39 +01:00
Gabriele Svelto
b17a412875 Bug 968297 - Prevent the priority manager from changing the Nuwa process priority. r=khuey 2014-02-06 19:28:21 +01:00
Ben Kelly
b0a18d63a8 Bug 957346: Extend grace period for perceivable background processes. r=fabrice 2014-01-15 18:17:59 -05:00
Ehsan Akhgari
68bfe70f09 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
Alan Huang
2ccc653408 Backed out changesets 21b77163bf9f and ebcfdf7200db (bug 922919) because the logging code is no longer needed. r=khuey 2013-12-10 11:25:01 +08:00
Ryan VanderMeulen
07fe219986 Backed out changesets a7fc463961ce and 65061e971eb8 (bug 935793) for breaking Travis testing (bug 950441). 2013-12-15 12:47:09 -05:00
Mark Hammond
7e24037c75 Bug 935793 (part 2) - rename browser-shown notifications and send them for all frames. r=smaug 2013-12-13 14:24:37 +11:00
Ehsan Akhgari
3e65edba24 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
Alan Huang
55bc9e4d2f Bug 942040 - Remove a process from BackgroundProcessLRUPool in ParticularProcessPriorityManager only if it is indeed a background process. r=khuey 2013-11-22 17:10:30 +08:00
Alan Huang
9d10135b73 Bug 922919 - Remove unnecessary FireTestOnlyObserverNotification calls to avoid intermittent test timeouts. r=khuey 2013-11-15 14:50:22 +08:00
Kyle Huey
de71733473 Bug 922919: Followup to disable logging on 64 bit OSes because it doesn't compile reliably. r=me 2013-11-07 14:23:46 +08:00
Alan Huang
9d284c4d7c Bug 922919: Add logging to detect "Intermittent test_BackgroundLRU.html | Test timed out". r=khuey 2013-11-07 11:14:27 +08:00
Alan Huang
c2710653f6 Bug 822325: Implement an LRU pool for background app processes. The LRU app will get the smallest oom_adj and get killed last. r=khuey 2013-10-01 11:54:59 +08:00
Nathan Froyd
b4a5129cce Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan 2013-09-10 16:56:05 -04:00
Kan-Ru Chen (陳侃如)
dfd9429dd0 Bug 914541 - Assign higher priority for mozapptype=inputmethod. r=fabrice 2013-09-24 16:10:20 +08:00