Mats Palmgren
257e69aae5
Bug 1009263 - Add nsCheapSets::Clear() method that removes all entries and return it to minimal size in terms of memory use. r=bsmedberg
2014-05-17 23:10:53 +00:00
Ryan VanderMeulen
cd4118e735
Backed out changeset 36bfb1d8b8fe (bug 1010655) for Cpp test crashes.
2014-05-16 14:52:13 -04:00
Terrence Cole
07a92341f3
Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
...
--HG--
extra : rebase_source : 474ef235d747f9008f79b2ad0328ec1566b8c641
2014-05-14 19:48:09 -07:00
Ryan VanderMeulen
9e342ce37a
Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE.
2014-05-16 12:29:37 -04:00
Nicolas Silva
5fdb00fc48
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
Andrew McCreight
a95191e7f0
Bug 1008420, part 2 - Split out a refcountless nsArray base class. r=bsmedberg
2014-05-15 09:52:58 -07:00
Andrew McCreight
57f3f97385
Bug 1008420, part 1 - Delete trailing whitespace from nsArray. r=bsmedberg
2014-05-15 09:52:58 -07:00
Andrew McCreight
6b94f1bb01
Bug 971264 - Remove nsHashtable. r=bsmedberg
2014-05-15 09:52:57 -07:00
Birunthan Mohanathas
488f6b602e
Bug 995730 - Fix style violations in xpcom/io/. r=froydnj
2014-05-14 23:15:46 +03:00
Birunthan Mohanathas
0d2648eb80
Bug 995730 - Fix style violations in xpcom/base/ (part 2). r=froydnj
2014-05-14 23:14:58 +03:00
Andrew McCreight
04c12ad3a0
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
61c9d86ba3
Bug 1005396 - Finish a long ICC early after graph building has finished. r=smaug
2014-05-14 09:45:50 -07:00
Nicholas Nethercote
cbc884ac7a
Bug 1005836 - Avoid slop NodePool::Block allocations. r=mccr8.
...
--HG--
extra : rebase_source : 2297b22e7a5d6679d8b25679d338f001c7427b60
2014-05-13 20:42:27 -07:00
Jed Davis
e4ced412bb
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
9a4dabed51
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
fb371cca99
Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation
2014-05-13 20:41:38 +03:00
Aaron Klotz
cd70c9eed0
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
5b3f3e053a
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-11 10:47:11 +01:00
Andrew McCreight
904bc7080b
Bug 972605, part 3 - Make nsErrorService use a modern hash table. r=froydnj
2014-05-09 13:47:37 -07:00
Andrew McCreight
067ab8c161
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
a0a5973239
Bug 972605, part 1 - Rename nsErrorService arguments to aFoo form. r=froydnj
2014-05-09 13:47:36 -07:00
Daniel Holbert
e0b68d72ad
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
2ae93a0154
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
7e6ec54552
Bug 1004899 - Add stderr to profile output. r=ehsan
...
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Andrew McCreight
ab3dbb5a7a
Bug 999575 - Add an already_AddRefed<> Put method for nsRefPtrHashtable. r=froydnj
2014-05-09 09:49:52 -07:00
Chris Peterson
a490f2c4db
Bug 1007525 - Mark xpcom/typelib/xpt/ as FAIL_ON_WARNINGS. r=bholley
2014-05-07 19:53:49 -07:00
Benoit Jacob
60d536773a
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
2a17f4a547
Bug 994964 follow-up: fix --disable-webrtc builds; rs=jesup
2014-05-08 18:39:12 -04:00
Igor Kolupaev
89db128641
Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg
2014-05-07 23:03:41 +03:00
Ehsan Akhgari
903bfdef6e
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
fac8c73779
Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE
2014-05-08 20:35:09 +01:00
Neil Rashbrook
5b1f7b4a77
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-08 20:08:38 +01:00
Andrew McCreight
cb5234676d
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
932496b546
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
857a5028db
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
54c1cb7bbc
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
c69668e0fa
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
b3c3ae76f7
Backed out changeset d7d7cc47bcc6 (bug 924622) for bustage.
...
CLOSED TREE
2014-05-07 10:22:21 -04:00
Nicolas Silva
bce5cf3347
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
7076cd497f
Bug 1005975 - Define FloodBlackNode as a convenience function. r=smaug
2014-05-06 17:25:27 -07:00
Andrew McCreight
d72a4c8977
Bug 1006635, part 2 - Add more Checkpoints to the cycle collector. r=smaug
2014-05-06 17:25:27 -07:00
Andrew McCreight
b65df16afa
Bug 1006635, part 1 - Make TimeLog use doubles and reduce the threshold. r=smaug
2014-05-06 17:25:27 -07:00
Andrew McCreight
f5a7b92cdc
Bug 1005232 - Log number of incremental cycle collector slices. r=smaug
2014-05-06 17:25:26 -07:00
Andrew McCreight
0b5a958dcb
Bug 1004017 - Rename CycleCollectedJSRuntime::NeedCollect() and Collect(). r=smaug
2014-05-06 17:25:26 -07:00
Andrew McCreight
b89c24ee20
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
5f4008d9b9
merge b2g-inbound to mozilla-central
2014-05-06 14:33:21 +02:00
Ed Morley
cf9791d39b
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
f0482d7b52
Merge m-c to b2g-inbound
2014-05-05 21:19:59 -07:00
Ehsan Akhgari
a43f82250d
Bug 1005321 follow-up: fix the link error on Windows
2014-05-05 20:39:46 -04:00
Ehsan Akhgari
a418e24ebc
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
047f25416e
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
6957a858ae
Bug 1001542 - Make OS_VERSION use b2g version info rather than Linux version info.
2014-05-05 15:24:58 -07:00
Bruce Sun
3e7ae5a454
Bug 990957 - Seek again in Tell(), Available(), Seek() of nsMultiplexInputStream. r=mcmanus
2014-05-05 12:22:16 +08:00
Jim Blandy
bc756c3da1
Bug 1004313
: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus
2014-05-02 11:32:23 -07:00
Eric Rahm
41bcb2678a
Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn
2014-04-25 13:00:15 -07:00
Ryan VanderMeulen
2825c84a5b
Backed out changeset 83d914c3431d (bug 999473) for Linux mochitest-other failures.
2014-05-01 16:45:21 -04:00
Birunthan Mohanathas
bb0fa6ae4c
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
51bcf8d525
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
8f4f3e6fea
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
7659250728
Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn
2014-04-25 13:00:15 -07:00
Nathan Froyd
0039ca477f
Bug 1003306 - part 1 - add PermissionManager/nsIPermissionManager to ServicesList.h; r=bsmedberg
2014-04-29 13:27:02 -04:00
Nathan Froyd
211a1492ea
Bug 1003297 - part 2 - tidy up refcount management in mozilla::services::Get*; r=bsmedberg
2014-04-29 11:59:45 -04:00
Nathan Froyd
0f1bab5974
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
f95958fce0
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
9eb41cadc6
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
2e2e95a471
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
c6829067c9
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
7271f06811
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
cb87ad25bf
Bug 1000755 - [about:service] Refine the format of output reports. r=dhylands
2014-04-28 14:20:41 +08:00
Wes Kocher
bfff1455c9
Merge inbound to m-c
2014-04-28 15:54:30 -07:00
ffxbld
876943a610
Version bump. CLOSED TREE NO BUG a=release
2014-04-28 14:18:37 -04:00
Nicolas Silva
264f4d9481
Bug 924622 - Backout because of e10s mochitest regression on linux on a CLOSED TREE
2014-04-28 19:32:32 +02:00
Nicolas Silva
1f0cce38f8
Bug 924622 - Move some #includes around to fix the build on a CLOSED TREE
2014-04-28 19:11:56 +02:00
Nicolas Silva
4a884a6fbc
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
764bbc2196
Bug 900908 - Part 4: Remove numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h. r=froydnj
2014-04-27 03:07:00 -04:00
Birunthan Mohanathas
5f1fde8824
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
Randell Jesup
1c0a493d1d
Bug 940329: avoid warnings from using size_t in ImplCycleCollectionTraverse() r=ehsan
2014-04-27 00:29:18 -04:00
Zack Weinberg
cd4452471d
Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo. r=bsmedberg
2014-04-26 10:56:54 -04:00
Chris Peterson
8dfd5d9398
Backed out changeset 18034a2d0732 (bug 940329) for build bustage
2014-04-26 23:11:47 -07:00
Nathan Froyd
579dfd2182
Bug 940329: fix spammy implicit type-conversion warnings in nsTSubstring.h r=ehsan
2014-04-27 00:29:25 -04:00
Randell Jesup
9ace4688fe
Bug 940329: avoid warnings from using size_t in ImplCycleCollectionTraverse() r=ehsan
2014-04-27 00:29:18 -04:00
James Kitchener
f90cfba93e
Bug 1000030 - Don't let Windows overwrite length 0 strings. r=dmajor
2014-04-26 04:03:00 -04:00
Birunthan Mohanathas
80a64384c4
Bug 900903 - Part 3: Remove numbered macros in nsCycleCollectionParticipant.h. r=smaug
2014-04-25 12:50:00 -04:00
Nathan Froyd
0ed717fb8f
Backout 2629257557ff:284be1609a50 (bug 1001842) for debug xpcshell bustage
2014-04-26 13:18:32 -04:00
Nathan Froyd
d649cd0a50
Backout f615a0532971:154fb9a9e0bc (bug 493701) for Cpp bustage
2014-04-26 13:12:10 -04:00
Zack Weinberg
8d8cd9f164
Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo. r=bsmedberg
2014-04-26 10:56:54 -04:00
Arpad Borsos
9baee2a632
Bug 493701 - part 1: add nsTObserverArray::BackwardIterator; r=bzbarsky
...
--HG--
extra : rebase_source : cb875dcd70b76b819abb1d516db74e55a3babd54
2013-12-10 13:28:31 +01:00
Arpad Borsos
32ceb86db9
Bug 493701 - part 1: add nsTObserverArray::BackwardIterator; r=bzbarsky
...
--HG--
extra : rebase_source : cf37f9cf8ee8a4198741eea69d0fcedef64053fc
2013-12-10 13:28:31 +01:00
Benoit Jacob
d582764500
Bug 989320 - Add cycle collection support for MFBT EnumeratedArray - r=mccr8
2014-04-25 22:34:03 -04:00
Eric Rahm
0793562b4e
Bug 1001137 - Use proper pref for configuring fifo directory. r=froydnj
...
--HG--
extra : rebase_source : 6d45f4b6b9d86ab6718d07a4a7bfe83454d095fd
2014-04-25 13:53:01 -07:00
Eric Rahm
4231758a40
Bug 1000461 - Enable triggering memory report via fifo device on OS X. r=froydnj
2014-04-24 17:35:59 -07:00
Eric Rahm
1038554fe5
Bug 1001137 - Enabling FifoWatcher via user pref does not work. r=froydnj
2014-04-24 15:58:57 -07:00
Ed Morley
1281549341
Backed out changeset fbb86a21aba0 (bug 924622) for leaks on OS X 10.6; CLOSED TREE
2014-04-25 17:51:42 +01:00
Trevor Saunders
15d1bae807
bug 980753 - make nsRefPtr movable r=froydnj
2014-02-26 18:11:14 -05:00
Nicolas Silva
2dd73e27ec
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-04-25 13:55:36 +02:00
Birunthan Mohanathas
a33ed136f3
Bug 900908 - Part 2: Add variadic variants of numbered macros in nsIClassInfoImpl.h. r=froydnj
...
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:21:00 +02:00
Birunthan Mohanathas
784f1fabb9
Bug 900908 - Part 1: Add variadic variants of numbered macros in nsISupportsImpl.h. r=froydnj
...
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:20:00 +02:00
Birunthan Mohanathas
6487356b98
Bug 900903 - Add variadic variants of numbered macros in nsCycleCollectionParticipant.h. r=smaug
...
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:13:00 +02:00
Aaron Klotz
7d6db2c828
Bug 998795: Use nsAutoPtr to initialize MainThreadIOLoggerImpl(); r=froydnj
2014-04-24 20:06:12 -06:00
Eric Faust
77529f2044
Bug 1001126 - Allow AllTraces CC logging other than at shutdown. (r=mccr8)
2014-04-24 14:28:49 -07:00