Commit Graph

4895 Commits

Author SHA1 Message Date
Chris Peterson
92df38d44e Bug 1007525 - Mark xpcom/typelib/xpt/ as FAIL_ON_WARNINGS. r=bholley 2014-05-07 19:53:49 -07:00
Benoit Jacob
2e1ef0025a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Ehsan Akhgari
cfdece92b0 Bug 994964 follow-up: fix --disable-webrtc builds; rs=jesup 2014-05-08 18:39:12 -04:00
Igor Kolupaev
7bdea89913 Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg 2014-05-07 23:03:41 +03:00
Ehsan Akhgari
958ae15e31 Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Neil Rashbrook
a998ae77f6 Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE 2014-05-08 20:35:09 +01:00
Neil Rashbrook
f9520ae677 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Andrew McCreight
e62951375f Bug 1005500 - Use a separate linear scan pass to mark nodes white in ScanRoots. r=smaug
The existing code for ScanRoots looks at all traversal roots in the graph,
and floods white or black from them. This can take up a large chunk of the
Scan/Unlink slice of ICC, maybe because graph traversal has poor locality.

Outside of a leak, the cycle collector graph is usually only large when
there is a lot of garbage (95% or more of the graph), so we want to
speed up white marking.

To do this, I add a new pass that scans every node and directly sets the
color of any node that should be white, without flooding. This is very
fast. Then a second pass floods black from any remaining grey nodes.

On the page close CC for a real page, I measured a 10x improvement in
ScanRoots() time with this algorithm, from 3ms to 0.3ms.
2014-05-08 11:28:03 -07:00
Jonathan Watt
3b52ee43ad Bug 590790 part 2 - Add memory reporter for VectorImage's SVGDocumentWrapper's document. r=dholbert, r=njn, r=seth 2014-05-08 10:53:00 +01:00
Chris Peterson
c7e6ac0c67 Bug 1006998 - Fix -Wdeprecated-writable-strings warnings by const-correcting typelib/xpt code. r=bholley 2014-05-05 21:40:06 -07:00
Ryan VanderMeulen
446c9509db Backed out changeset 86f9003c1251 (bug 924622) for causing bug 1007284 (frequent mochitest-e10s-2 shutdown hangs). 2014-05-07 17:03:03 -04:00
Nicolas Silva
a6863f0e23 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Ryan VanderMeulen
d4400ed747 Backed out changeset d7d7cc47bcc6 (bug 924622) for bustage.
CLOSED TREE
2014-05-07 10:22:21 -04:00
Nicolas Silva
204e86d14e Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, r=sotaro 2014-05-07 11:06:19 +02:00
Andrew McCreight
48337cf849 Bug 1005975 - Define FloodBlackNode as a convenience function. r=smaug 2014-05-06 17:25:27 -07:00
Andrew McCreight
09dabdad5b Bug 1006635, part 2 - Add more Checkpoints to the cycle collector. r=smaug 2014-05-06 17:25:27 -07:00
Andrew McCreight
d574e71a90 Bug 1006635, part 1 - Make TimeLog use doubles and reduce the threshold. r=smaug 2014-05-06 17:25:27 -07:00
Andrew McCreight
72fc10903d Bug 1005232 - Log number of incremental cycle collector slices. r=smaug 2014-05-06 17:25:26 -07:00
Andrew McCreight
bdea2bfd58 Bug 1004017 - Rename CycleCollectedJSRuntime::NeedCollect() and Collect(). r=smaug 2014-05-06 17:25:26 -07:00
Andrew McCreight
67aeb89cc4 Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug 2014-05-06 17:25:26 -07:00
Carsten "Tomcat" Book
1037ec50fc merge b2g-inbound to mozilla-central 2014-05-06 14:33:21 +02:00
Ed Morley
b83255e4e2 Fix incorrect resolution of merge conflicts between bug 995730 and bug 1001542 (no bug; CLOSED TREE)
--HG--
extra : amend_source : 5b90e13f8f3a7419e26acee6e483855bdd8c3558
2014-05-06 09:00:06 +01:00
Wes Kocher
51b4f13fac Merge m-c to b2g-inbound 2014-05-05 21:19:59 -07:00
Ehsan Akhgari
4b2590958a Bug 1005321 follow-up: fix the link error on Windows 2014-05-05 20:39:46 -04:00
Ehsan Akhgari
960e39897a Bug 1005321 - Convert the xpt code to C++; r=bholley
--HG--
rename : xpcom/typelib/xpt/src/xpt_arena.c => xpcom/typelib/xpt/src/xpt_arena.cpp
rename : xpcom/typelib/xpt/src/xpt_struct.c => xpcom/typelib/xpt/src/xpt_struct.cpp
rename : xpcom/typelib/xpt/src/xpt_xdr.c => xpcom/typelib/xpt/src/xpt_xdr.cpp
rename : xpcom/typelib/xpt/tests/PrimitiveTest.c => xpcom/typelib/xpt/tests/PrimitiveTest.cpp
rename : xpcom/typelib/xpt/tests/SimpleTypeLib.c => xpcom/typelib/xpt/tests/SimpleTypeLib.cpp
2014-05-05 19:52:09 -04:00
Eric Rahm
9b5d3eccc6 Bug 1003479 - Fix incorrect usage of SizeOfIncludingThis and SizeOfExcludingThis functions. r=njn
--HG--
extra : rebase_source : 2d51e1fc1b642b0efa60cb4e25e8b142577e93d3
2014-05-01 10:37:54 -07:00
Dave Hylands
cbc0a4b450 Bug 1001542 - Make OS_VERSION use b2g version info rather than Linux version info. 2014-05-05 15:24:58 -07:00
Bruce Sun
a78f90258e Bug 990957 - Seek again in Tell(), Available(), Seek() of nsMultiplexInputStream. r=mcmanus 2014-05-05 12:22:16 +08:00
Jim Blandy
af64a62438 Bug 1004313: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus 2014-05-02 11:32:23 -07:00
Eric Rahm
33ef4a9017 Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn 2014-04-25 13:00:15 -07:00
Ryan VanderMeulen
a4f9513be6 Backed out changeset 83d914c3431d (bug 999473) for Linux mochitest-other failures. 2014-05-01 16:45:21 -04:00
Birunthan Mohanathas
3bdf6e645e Bug 995730 - Change xpcom/string/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:46 +03:00
Birunthan Mohanathas
04c14a71bf Bug 995730 - Change xpcom/io/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:43 +03:00
Birunthan Mohanathas
cf3e12c35a Bug 995730 - Change xpcom/base/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:39 +03:00
Eric Rahm
57fc0ea6ef Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn 2014-04-25 13:00:15 -07:00
Nathan Froyd
e616ea9a4c Bug 1003306 - part 1 - add PermissionManager/nsIPermissionManager to ServicesList.h; r=bsmedberg 2014-04-29 13:27:02 -04:00
Nathan Froyd
98d4e9240c Bug 1003297 - part 2 - tidy up refcount management in mozilla::services::Get*; r=bsmedberg 2014-04-29 11:59:45 -04:00
Nathan Froyd
59c84adaad Bug 1003297 - part 1 - don't try to return XPCOM services from mozilla::services getters post-XPCOM shutdown; r=bsmedberg 2014-04-29 11:51:14 -04:00
Ryan VanderMeulen
568d01e29e Backed out changesets 74ef5120ae2f and d26dfd37031a (bug 924622) for frequent Android and OSX crashes.
CLOSED TREE
2014-04-30 13:21:07 -04:00
Nicolas Silva
5656eb9940 Bug 924622 - Change the #include order of ImageBridge headers in nsXPCOMInit.cpp to avoid macro name collision on some platforms. 2014-04-30 17:43:09 +02:00
Nicolas Silva
79c0192464 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-30 17:39:59 +02:00
Ehsan Akhgari
e04a4fd6c3 Bug 999888: Make ObserverLists not use mozilla::AtomicRefCounted; r=froydnj
--HG--
extra : rebase_source : a1a29242b9a8d6e265d20352d9f24d743f20a47c
2014-04-29 11:32:03 -06:00
Aaron Klotz
6e588eb232 Bug 999888: Make IOInterposer leakcheck-friendly; f=ehsan, r=froydnj
--HG--
extra : rebase_source : ff65dd0f8ab4f28bf53b52f71cda1793df9a108a
2014-04-29 11:29:43 -06:00
Alphan Chen
f2b3623c0f Bug 1000755 - [about:service] Refine the format of output reports. r=dhylands 2014-04-28 14:20:41 +08:00
Wes Kocher
41a6c8af88 Merge inbound to m-c 2014-04-28 15:54:30 -07:00
ffxbld
8714c49598 Version bump. CLOSED TREE NO BUG a=release 2014-04-28 14:18:37 -04:00
Nicolas Silva
e654487c2a Bug 924622 - Backout because of e10s mochitest regression on linux on a CLOSED TREE 2014-04-28 19:32:32 +02:00
Nicolas Silva
a5e3e709e3 Bug 924622 - Move some #includes around to fix the build on a CLOSED TREE 2014-04-28 19:11:56 +02:00
Nicolas Silva
57653a79d1 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-28 16:03:12 +02:00
Birunthan Mohanathas
688711cb03 Bug 900908 - Part 4: Remove numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h. r=froydnj 2014-04-27 03:07:00 -04:00