Benjamin Smedberg
9950de3641
Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj
...
--HG--
extra : rebase_source : f84278dfbba92c6d75458b525a559b6f8598500f
2013-11-25 15:06:17 -05:00
Chris Peterson
565f47bc12
Bug 942400 - Fix -Wunused-variable warning in xpcom/io/nsMultiplexInputStream.cpp. r=nfroyd
2013-11-22 19:39:47 -08:00
Birunthan Mohanathas
1e8f99fd01
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00
Jan Beich
0f2c1d8098
Bug 942488 - Don't report pseudo-stacks without SPS profiler. r=nchen
2013-11-25 09:24:00 -05:00
Benoit Girard
a735170d84
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Ehsan Akhgari
869d0af69a
Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa
2013-11-24 01:29:24 -05:00
Mike Hommey
aaacc118f4
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Jim Chen
58cafde33a
Bug 932865 - Collect thread hang stats in BackgroundHangMonitor; r=froydnj
2013-11-22 14:17:31 -05:00
Jim Chen
eaec8a4510
Bug 932865 - Record inactive thread hang stats inside telemetry; r=vladan
2013-11-22 14:17:31 -05:00
Jim Chen
07b69c15af
Bug 932865 - Add way for telemetry to iterate over active threads; r=froydnj
2013-11-22 14:17:31 -05:00
Jim Chen
c64b0ca7e1
Bug 935092 - Add ThreadStackHelper to get a thread's pesudo-stack; r=BenWa
2013-11-22 14:17:30 -05:00
Jim Chen
75497803c7
Bug 909974 - Stop the monitor thread when the BackgroundHangManager instance is destroyed; r=froydnj
2013-11-22 14:17:30 -05:00
Jim Chen
10b4b19413
Bug 909974 - Let monitor thread detect hangs in addition to permahangs; r=froydnj
2013-11-22 14:17:29 -05:00
Jim Chen
08f53c8320
Bug 909974 - Add a hang monitor for background threads; r=froydnj
2013-11-22 14:17:29 -05:00
Ed Morley
2df56b3abd
Backed out changeset 1eb6ceed2cda (bug 938437) on suspicion of causing WinXP debug jetpack failures on a CLOSED TREE
2013-11-22 16:00:32 +00:00
Ed Morley
1a9ee1c710
Backed out changeset c30371a66429 (bug 941450)
2013-11-22 15:59:22 +00:00
Mike Hommey
2f9d386e67
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Mike Hommey
86956347ec
Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder,r=nfroyd
2013-11-19 13:45:31 +09:00
Masatoshi Kimura
8c2c9a5c0a
Bug 925599 - Replace GetVersion() uses. r=bsmedberg
2013-11-22 12:35:42 +09:00
Wes Kocher
0baa2a0d4e
Merge m-c to inbound
2013-11-21 19:18:18 -08:00
Wes Kocher
07ce8fb494
Merge fx-team to m-c
2013-11-21 19:16:50 -08:00
Ehsan Akhgari
5ae04a9cf8
Bug 941739 - Print the current process and thread information on XPCOM assertions and string leaks stats; r=froydnj
2013-11-21 14:17:35 -05:00
Ryan VanderMeulen
7c4875ed06
Merge m-c to fx-team.
2013-11-21 15:55:03 -05:00
Ryan VanderMeulen
aff6efccdc
Merge m-c to inbound.
2013-11-21 11:37:10 -05:00
Carsten "Tomcat" Book
b696d7931d
merge mozilla-inbound to mozilla-central
2013-11-21 14:20:21 +01:00
Nicholas Nethercote
6ebfdcab7c
Bug 940069 - Backout a temporary debugging printf that runs on --enable-valgrind builds only, because it has served its purpose. r=me.
2013-11-20 00:27:00 -08:00
Alexander Surkov
3fddde94b8
Bug 935698 - isolate nsIAccessibleValue implementation into separate class, r=tbsaunde
2013-11-19 16:01:15 -05:00
Jim Blandy
a448351084
Bug 896100: Convert all uses of OldMove and MoveRef to true rvalue references and the modern Move and Forward. r=luke, r=waldo
2013-11-19 09:05:36 -08:00
ISHIKAWA, Chiaki
9fee7183c6
Bug 936987 - Propagate the error code of PR_Close() against a file under CIFS-share under Linux. r=froydnj
...
(Network error causes the file share to fail, and read()/close() and possibly write() can return network-related error. close() error was not caught before.)
2013-11-19 14:56:58 -05:00
Andrew McCreight
6663405c37
Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug
2013-11-20 14:35:17 -08:00
Andrew McCreight
e95cbc0c81
Bug 935721, part 9 - Move mPtrToNodeMap into GCGraph. r=smaug
...
With ICC, we may have to remove things from the graph after we have finished building
the graph, so move the mapping to graph addresses into the graph itself to create a
more self-contained structure.
2013-11-20 14:35:17 -08:00
Andrew McCreight
bb1468458b
Bug 935721, part 8 - Add a reference to the graph to the graph builder. r=smaug
...
This moves towards letting the CC graph outlive the builder.
2013-11-20 14:35:16 -08:00
Andrew McCreight
e684f4cc71
Bug 935721, part 7 - Inline PrepareForCollection into BeginCollection. r=smaug
...
PrepareForCollection is trivial now, so just inline it.
2013-11-20 14:35:16 -08:00
Andrew McCreight
96e1092a51
Bug 935721, part 5 - Invert the control flow of CycleCollectNow's pre- and post-collection work, add CCResults as a field on the CC. r=smaug
...
nsJSEnvironment::CycleCollectNow does work before and after a CC runs. With ICC, nsJSEnv won't
know where in the CC when a CC is about to begin or end, so this patch reorganizes that work
into two separate callback hooks. This requires adding a new struct, CycleCollectorStats, to
hold data nsJSEnv needs between the two calls.
Rather than trying to pass around a pointer to a results structure, this patch just adds
it to the nsCycleCollector struct, and always stores them. The results are passed back
to the end CC callback.
2013-11-20 14:35:16 -08:00
Andrew McCreight
44bb1bc6e4
Bug 935721, part 4 - Allocate white nodes array in CollectWhite. r=smaug
...
The white nodes array is only used in CollectWhite, so just allocate it there.
2013-11-20 14:35:16 -08:00
Andrew McCreight
e4b1a62a1a
Bug 935721, part 3 - Use RAII to set mScanInProgress, hoist out MarkRoots and ScanRoots. r=smaug
...
With ICC, mScanInProgress gets set and cleared a bunch of times so add an RAII class to turn
it on when we're doing stuff and clear it when we're not.
With that in place, we can easily move MarkRoots and ScanRoots out of BeginCollection
in preparation for making them separate phases in ICC.
2013-11-20 14:35:16 -08:00
Andrew McCreight
96d04bb502
Bug 935721, part 2 - Allocate GCGraphBuilder on the heap. r=smaug
...
With ICC, the graph builder must persist across invocations of the CC,
so store it on the heap.
2013-11-20 14:35:15 -08:00
Andrew McCreight
6f67d60423
Bug 935721, part 1 - Store the listener pointer on the nsCycleCollector data structure. r=smaug
...
With ICC, the listener must persist across invocations of the CC, so store it on the CC.
2013-11-20 14:35:15 -08:00
Benjamin Smedberg
6a4ff78542
Bug 672843 part D - make NS_ERROR_INVALID_POINTER an alias of NS_ERROR_INVALID_ARG, r=froydnj
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
8fd1bc7f20
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
d3cbd5920f
Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj
2013-11-19 16:27:36 -05:00
Benjamin Smedberg
ddad5a704a
Bug 672843 part A - Create the new macro NS_WARN_IF and deprecate NS_ENSURE_* in favor of the explicit warning/return style. Also localize each macro so that it's debug and non-debug versions are local in the file, because that makes it easier for new contributors to understand. r=froydnj sr=jst
2013-11-19 16:27:36 -05:00
Ehsan Akhgari
02b93b6f1a
Follow-up to bug 936912: Fix a compiler warning
2013-11-20 16:01:59 -05:00
Ehsan Akhgari
86afd352d7
Bug 941866 - Exclude files which rely on the known bad patterns from unified builds; r=BenWa
2013-11-21 16:36:59 -05:00
Ehsan Akhgari
4fc038aac3
Bug 941405 - Remove the usages of the register keyword from XPCOM; r=froydnj
2013-11-21 10:42:40 -05:00
Ryan VanderMeulen
4864326b61
Backed out changeset 4887ddabba31 (bug 939231) for mochitest hangs.
...
CLOSED TREE
2013-11-21 09:39:38 -05:00
Chris Kitching
36c7d139c0
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
6eb7c563bb
Merge inbound to m-c.
2013-11-19 13:21:57 -05:00
James Kitchener
8d6c5dce65
Bug 936886 - Account for possibility of non-null terminated strings in nsWindowsRegKey::ReadStringValue(). r=dmajor
2013-11-19 09:09:41 -05:00
Nicholas Nethercote
b82ef1a8fa
Bug 940069 - Land a temporary debugging printf that runs on --enable-valgrind builds only, because Valgrind runs aren't available on tryserver. r=me.
2013-11-18 23:13:15 -08:00