Commit Graph

8874 Commits

Author SHA1 Message Date
Marco Bonardo
2b24ab86ca Merge last green PGO from inbound to central 2012-03-23 12:49:57 +01:00
Patrick McManus
f9c663dd09 bug 603514 - http stalled read detection r=honzab
When a connection that involves a pipelined transaction has been stalled (i.e.
idle with an open transaction, not an idle persistent connection) for a
second move any transactions that are pipelined after the current one onto
different connections (and implicitly close this connection when done with the
current transaction).

when it has been stalled for 10 seconds (pref configurable), cancel the current
transaction itself too - depending on its state it can hopefully be restarted
on a clean connection.
2012-03-22 19:39:31 -04:00
Patrick McManus
fcec57856d bug 603512 - large objects block pipelines r=honzab
the type and state patch tries hard not to form pipelines behind resources that
could become head of line blockers. But of course that requires the ability to
predict the future, and won't be perfect.

This patch reacts to a transaction that has a large response body (defined by
either a large content-length header or actually reading a large number of
chunked bytes) by cancelling any transactions that have been pipelined down the
same connection and rescheduling them elsewhere. It also changes the type of
the connection to "solo", which prevents new transactions from being pipelined
onto this one and provides class-specific negative feedback to the pipeline
manager so that near-future requests to the same host of the same type (e.g.
general) will not be pipelined but other types (e.g. img or js/css) can still
do that.

Content-Length is ideal, because it allows us to identify the problem so early.
But even actually reading the document for a fairly long time gives it a fairly
high probability of not ending soon. (i.e. long document sizes are spread over
a larger range than small ones. duh.)

The pref network.http.pipelining.maxsize controls the threshold. I set the
default at 300KB, which is roughly the bandwidth delay product of a 2mbit 120ms
rtt connection and 1 rtt is mostly what you are giving up by canceling it on
one connection and sending it on another. (modulo maybe needing a handshake).
2012-03-22 19:39:31 -04:00
Patrick McManus
5090fe4d7b bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
e79097d459 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Avi Halachmi
f36a2a5784 Bug 736251 - Change scrolling duration to 400ms to make it feel more responsive. r=roc, ui-r=limi 2012-03-21 20:02:50 -04:00
Pranav Ravichandran
b3820740d8 Bug 535594 - Fix/Clean-up 'security.enable_java' preference references. r=bsmedberg 2012-03-21 19:52:23 -04:00
Serge Gautherie
8caea3b996 Bug 735573. (Av1) Document UseDefaultPrefFile() and fix its nsresult value. r=bsmedberg. 2012-03-23 02:13:20 +01:00
Vladan Djeric
9b2d06b29a Bug 722368 - Report slow SQL created from dynamic strings to Telemetry. r=taras 2012-03-21 13:26:48 -04:00
Jonathan Kew
7eb8259776 bug 721719 - add more ICS fonts to the default Android prefs. r=jdaggett 2012-03-17 09:39:09 +00:00
Marco Bonardo
cb781bfe97 Merge inbound and central 2012-03-16 13:42:16 +01:00
Masayuki Nakano
2f809c32b2 Bug 728103 part.1 Change modifier for HTML accesskey from Control to Control + Option r=smichaud+smaug+limi, ui-review=limi 2012-03-16 15:29:14 +09:00
Ed Morley
9424dfaf15 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Brian R. Bondy
3379754562 Bug 735784 - Workaround for 13.0a1 users who are getting version downgrade errors. r=rstrong 2012-03-14 22:42:42 -04:00
Justin Lebar
040a216ea9 Bug 735877 - Update syntax hints in pref files to reflect the fact that you can't use computed values (e.g. 50 * 1024). r=mossop 2012-03-14 18:49:17 -04:00
Benoit Girard
18b544ff2b Bug 735763 - Turn off FPS by default. r=kats 2012-03-14 14:02:07 -04:00
Kartikaya Gupta
a96a6f4142 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Benoit Girard
dc6ea71b7e Merge mc->Maple 2012-03-13 11:05:28 -04:00
Bill McCloskey
739a9f7be8 Back out 85ffbb752398 and 8cae4bde9534 (bug 728686 and bug 734946) due to possible leaks 2012-03-12 22:43:43 -07:00
Avi Halachmi
fe8181c26f Bug 206438 - Smooth scrolling should use the 'smoothwheel' algorithm. r=roc ui-r=limi 2012-03-11 13:55:00 -07:00
Kartikaya Gupta
44d9673164 Merge m-c -> maple to pick up b159cd73c215 2012-03-10 11:21:26 -05:00
Benoit Girard
9612045323 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Benoit Girard
1d55c5f593 Merge mc->Maple 2012-03-07 11:10:45 -05:00
John Daggett
94e1fbc8c2 Bug 705594. Add pref to force global cmap-based font fallback. r=roc 2012-03-09 11:05:40 +09:00
John Daggett
b331b0f905 Bug 705594. Update Unicode range and pref font lists to avoid system fallback. r=roc 2012-03-09 11:05:05 +09:00
Benoit Girard
997a81e71b Merge latest green changeset from mozilla-central to maple
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
73a287f0ea Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Benoit Girard
a4a3883264 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
7e6f558d70 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Benoit Girard
76425a9557 Merge mc->maple 2012-03-01 10:44:44 -05:00
Matt Brubeck
c52c92d647 Merge last green changeset from inbound to mozilla-central 2012-02-29 10:47:38 -08:00
Kartikaya Gupta
1847cf91b3 Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Brian R. Bondy
8bb6674ce3 Bug 730862 - Disable signmar by default and provide an option to enable it. r=rstrong. sr=khuey 2012-02-28 13:58:42 -05:00
Kartikaya Gupta
45668a01d2 Merge m-c 2012-02-27 15:06:35 -05:00
Doug Turner
809efed1a1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Justin Lebar
0430db83ce Bug 733495 - Monitor ullAvailPageFile (available commit space) on Windows, and fire a low-memory event when it gets low. r=bsmedberg 2012-03-08 14:44:20 -05:00
Justin Lebar
3b4dd4a675 Back out changeset b2ac02d89f41 (wrong bug number; was 733496, should have been 733495). 2012-03-08 14:43:09 -05:00
Justin Lebar
d235870b65 Bug 733496 - Monitor ullAvailPageFile (available commit space) on Windows, and fire a low-memory event when it gets low. r=bsmedberg 2012-03-08 14:27:14 -05:00
Alex Keybl
275776fb5e Backing out 6f079f13c06a for bug 725869 a=me 2012-02-22 12:13:12 -08:00
Doug Turner
754c5d2cbb merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Rob Campbell
ab1e048072 merge fx-team to m-c 2012-02-22 12:47:22 -04:00
Bill McCloskey
e8c71019e8 Bug 734946 - Disable incremental GC for Firefox 13 (r=dmandelin) 2012-03-12 18:36:27 -07:00
Bill McCloskey
db62d4f158 Bug 734946 - Disable incremental GC for Firefox 13 (r=dmandelin) 2012-03-12 18:36:27 -07:00
Matt Brubeck
18cb28b830 Merge from mozilla-central to mozilla-inbound 2012-03-12 17:38:23 -07:00
Justin Lebar
1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Jonathan Griffin
d8fc3764a9 Bug 734314 - "Unwrapped getBoolPref call causes dbg-server.jsm to fail to load in B2G" [r=past] 2012-03-09 19:34:00 +02:00
Brian R. Bondy
e35ec9e9b0 Bug 730792 - Enable new security checks for updates without the service. r=rstrong 2012-03-05 15:47:46 -05:00
George Wright
fa376f2332 Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel 2012-02-18 21:23:06 -05:00
Brad Lassey
e5e9a2b04c merge from mozilla-central 2012-02-18 17:29:33 -05:00
Ed Morley
3c657080b5 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00