Andrew McCreight
1a4ed8fb12
Bug 1008420, part 2 - Split out a refcountless nsArray base class. r=bsmedberg
2014-05-15 09:52:58 -07:00
Andrew McCreight
3d4c19a17a
Bug 1008420, part 1 - Delete trailing whitespace from nsArray. r=bsmedberg
2014-05-15 09:52:58 -07:00
Andrew McCreight
27f0eee9f8
Bug 971264 - Remove nsHashtable. r=bsmedberg
2014-05-15 09:52:57 -07:00
Birunthan Mohanathas
712a60c468
Bug 995730 - Fix style violations in xpcom/io/. r=froydnj
2014-05-14 23:15:46 +03:00
Birunthan Mohanathas
32cf6d3b35
Bug 995730 - Fix style violations in xpcom/base/ (part 2). r=froydnj
2014-05-14 23:14:58 +03:00
Andrew McCreight
29893bf218
Bug 1007722 - Add helper methods for gray and black JS in the CC. r=smaug
2014-05-14 09:45:50 -07:00
Andrew McCreight
0e95548d97
Bug 1005396 - Finish a long ICC early after graph building has finished. r=smaug
2014-05-14 09:45:50 -07:00
Nicholas Nethercote
0e17b10450
Bug 1005836 - Avoid slop NodePool::Block allocations. r=mccr8.
...
--HG--
extra : rebase_source : 2297b22e7a5d6679d8b25679d338f001c7427b60
2014-05-13 20:42:27 -07:00
Jed Davis
0f6f582170
Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
...
This has a few semi-interdependent pieces:
* Factoring out the file opening/closing/renaming from the GC/CC logging.
* Using IPC to have the child log to files that the parent opened.
* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
of child process logging (which was impossible before this, and which is
needed to have a meaningful test case).
* Changing about:memory to dump logs for child processes, matching the
behavior of the "Measure" button, because it can tell the user where
they are now.
* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
interface, not by clicking buttons and scraping the about:memory page,
but done as a chrome mochitest to start remote browsers); based on
test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
Andrew McCreight
1b1e42aec4
Bug 958353, part 2 - Always check if an ICC is in progress in FixWeakMappingGrayBits(). r=smaug
...
This makes it easier to test against invalid interleavings of IGC and ICC.
2014-05-13 11:58:39 -07:00
Birunthan Mohanathas
00fa77001b
Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation
2014-05-13 20:41:38 +03:00
Aaron Klotz
0787643a71
Bug 1005748: Add basic UNC support to NtPathToDosPath; r=ehsan
...
--HG--
extra : rebase_source : 78c56f036a705c624721c705c51b1c4a0aefcdc0
2014-05-12 13:32:28 -06:00
Neil Rashbrook
8868f86752
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-11 10:47:11 +01:00
Andrew McCreight
098c82efe7
Bug 972605, part 3 - Make nsErrorService use a modern hash table. r=froydnj
2014-05-09 13:47:37 -07:00
Andrew McCreight
f82f239428
Bug 972605, part 2 - Inline nsInt2StrHashtable. r=froydnj
...
Also clean up the style a little.
2014-05-09 13:47:36 -07:00
Andrew McCreight
ff498b36c8
Bug 972605, part 1 - Rename nsErrorService arguments to aFoo form. r=froydnj
2014-05-09 13:47:36 -07:00
Daniel Holbert
76f1b18803
Bug 1008322: Guard webspeech-specific parts of ShimInterfaceInfo.cpp to fix --disable-webspeech builds. r=ehsan
2014-05-09 11:34:36 -07:00
Daniel Holbert
7d5d04d502
Bug 1008083: Guard variable 'kTelemetryPrefName' with the same ifdef that its usages are guarded by. r=ehsan
2014-05-09 10:55:29 -07:00
Benoit Girard
7fe0725c7a
Bug 1004899 - Add stderr to profile output. r=ehsan
...
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Andrew McCreight
9165f062b7
Bug 999575 - Add an already_AddRefed<> Put method for nsRefPtrHashtable. r=froydnj
2014-05-09 09:49:52 -07:00
Chris Peterson
6e781e0384
Bug 1007525 - Mark xpcom/typelib/xpt/ as FAIL_ON_WARNINGS. r=bholley
2014-05-07 19:53:49 -07:00
Benoit Jacob
472e4472e0
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
9a12af8290
Bug 994964 follow-up: fix --disable-webrtc builds; rs=jesup
2014-05-08 18:39:12 -04:00
Igor Kolupaev
a6147122b8
Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg
2014-05-07 23:03:41 +03:00
Ehsan Akhgari
4bfbeaa5c6
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
978d29fd60
Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE
2014-05-08 20:35:09 +01:00
Neil Rashbrook
8fc1ba5e06
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-08 20:08:38 +01:00
Andrew McCreight
cba2e924d6
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
03e0ca5e7f
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
b02e057ea9
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
f0eb74e456
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
8649e922cb
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
09c8ccf643
Backed out changeset d7d7cc47bcc6 (bug 924622) for bustage.
...
CLOSED TREE
2014-05-07 10:22:21 -04:00
Nicolas Silva
5db6035648
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
65e3052441
Bug 1005975 - Define FloodBlackNode as a convenience function. r=smaug
2014-05-06 17:25:27 -07:00
Andrew McCreight
f3af00eb5f
Bug 1006635, part 2 - Add more Checkpoints to the cycle collector. r=smaug
2014-05-06 17:25:27 -07:00
Andrew McCreight
80f4d732ee
Bug 1006635, part 1 - Make TimeLog use doubles and reduce the threshold. r=smaug
2014-05-06 17:25:27 -07:00
Andrew McCreight
fa5dcaaf9e
Bug 1005232 - Log number of incremental cycle collector slices. r=smaug
2014-05-06 17:25:26 -07:00
Andrew McCreight
36c281bf5c
Bug 1004017 - Rename CycleCollectedJSRuntime::NeedCollect() and Collect(). r=smaug
2014-05-06 17:25:26 -07:00
Andrew McCreight
8825a1d4bc
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
e0fe515076
merge b2g-inbound to mozilla-central
2014-05-06 14:33:21 +02:00
Ed Morley
651845f2c7
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
f29f9824c0
Merge m-c to b2g-inbound
2014-05-05 21:19:59 -07:00
Ehsan Akhgari
63f3641db9
Bug 1005321 follow-up: fix the link error on Windows
2014-05-05 20:39:46 -04:00
Ehsan Akhgari
45338123c5
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
53ee1bf751
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
29347f4490
Bug 1001542 - Make OS_VERSION use b2g version info rather than Linux version info.
2014-05-05 15:24:58 -07:00
Bruce Sun
d2717dc8d9
Bug 990957 - Seek again in Tell(), Available(), Seek() of nsMultiplexInputStream. r=mcmanus
2014-05-05 12:22:16 +08:00
Jim Blandy
cbe08bbca4
Bug 1004313: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus
2014-05-02 11:32:23 -07:00
Eric Rahm
6931f484d4
Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn
2014-04-25 13:00:15 -07:00