Michael Layzell
4f1d511383
Bug 1346866 - Make the IPC serialization/deserialization time probes main-thread-only, r=billm
...
MozReview-Commit-ID: 5Sc820Jh494
2017-03-13 19:25:48 -04:00
Michael Layzell
ea8d99bcb9
Bug 1342635 - Part 2: Add a telemetry probe for IPDL IPC serialzation time, r=billm
...
MozReview-Commit-ID: Gyx4QO8f5yx
2017-03-10 09:15:26 -05:00
Michael Layzell
2a520f65ea
Bug 1337073 - Improve the precision of the IPC_SYNC_LATENCY_MS probe and rename it to IPC_SYNC_MAIN_LATENCY_MS, r=billm
...
MozReview-Commit-ID: 7JB7h06wCzu
2017-03-10 09:15:26 -05:00
Michael Layzell
0ac815950a
Bug 1343729 - Only collect IPC_SYNC_LATENCY_MS on the main thread, r=billm
...
MozReview-Commit-ID: GtsujcVJNtW
2017-03-10 09:15:26 -05:00
Chris Pearce
220aa82570
Bug 1333489 - Record time spent waiting on sync IPC. r=billm,francois
...
We're curious how long we spend waiting on sync IPCs to complete.
So this patch adds telemetry which reports that, on a per message
basis, so we can identify problem messages.
MozReview-Commit-ID: CB4UaitPBeq
2017-01-31 21:28:41 +13:00
Bill McCloskey
a82c8d5566
Bug 1331804 - Add more runnable names (r=ehsan)
...
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 16:34:37 -08:00
Wes Kocher
ac78cfc4f2
Backed out 8 changesets (bug 1331804, bug 1332100) for windows vm debug dt5 failures a=backout
...
Backed out changeset 8bf7f0e27c6c (bug 1331804)
Backed out changeset 600c0b9026c2 (bug 1331804)
Backed out changeset 3a5b5b9ecace (bug 1331804)
Backed out changeset c76432c9954e (bug 1331804)
Backed out changeset 46a9096745e7 (bug 1332100)
Backed out changeset 8b751230fa23 (bug 1331804)
Backed out changeset 2810212347fd (bug 1331804)
Backed out changeset be72b7763910 (bug 1331804)
MozReview-Commit-ID: Ywdsr4GZ4a
2017-01-24 15:12:21 -08:00
Bill McCloskey
e584c01765
Bug 1331804 - Add more runnable names (r=ehsan)
...
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 10:04:55 -08:00
Thinker K.F. Li
ff52c9a0cb
Bug 1319669 - Add TaskTracer labels for IPC messages. r=cyu,billm
2017-01-09 18:46:00 +01:00
Tomislav Jurin
9ff3007b90
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Nathan Froyd
b995466f21
Bug 1320752 - remove mozilla/Function.h; r=gerald
...
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Bill McCloskey
608aa783de
Bug 1317844 - Allow an event target to be specified for each IPC actor (r=dvander)
...
MozReview-Commit-ID: 1xuWFTS8skZ
2016-11-21 17:03:39 -08:00
Bill McCloskey
643ccb9185
Revert "Bug 1317844 - Allow an event target to be specified for each IPC actor (r=dvander)"
...
This reverts commit 30396b9e84304ad7ee7d5a253ec886325a0f0cbe.
2016-11-21 16:49:44 -08:00
Bill McCloskey
efa3b9b596
Bug 1317844 - Allow an event target to be specified for each IPC actor (r=dvander)
...
MozReview-Commit-ID: 1xuWFTS8skZ
2016-11-21 16:43:15 -08:00
Kan-Ru Chen
1b9dd22e2d
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Bill McCloskey
c4eb21cc09
Bug 792652 - Remove pointless OnFoo methods (r=dvander)
...
A bunch of these methods just delegate from OnFoo to Foo. Not
sure why we have OnFoo.
2016-11-08 15:22:48 -08:00
Bill McCloskey
6d64f5c796
Bug 792652 - Remove methods from MessageListener (r=dvander)
...
With this change, MessageChannel stores mListener as an IToplevelProtocol
rather than a MessageListener (which isn't really a useful concept on
its own). The MessageListener methods are split out to IProtocol and
IToplevelProtocol. MessageListener gets deleted. Some of the inline
functions in MessageChannel had to be moved to MessageChannel.cpp since
IToplevelProtocol isn't defined in MessageChannel.h.
2016-11-08 15:22:36 -08:00
Wes Kocher
9ae70893b6
Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
...
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey
6c4feb9e44
Bug 792652 - Remove pointless OnFoo methods (r=dvander)
...
A bunch of these methods just delegate from OnFoo to Foo. Not
sure why we have OnFoo.
2016-11-08 11:32:31 -08:00
Bill McCloskey
2ec024e91b
Bug 792652 - Remove methods from MessageListener (r=dvander)
...
With this change, MessageChannel stores mListener as an IToplevelProtocol
rather than a MessageListener (which isn't really a useful concept on
its own). The MessageListener methods are split out to IProtocol and
IToplevelProtocol. MessageListener gets deleted. Some of the inline
functions in MessageChannel had to be moved to MessageChannel.cpp since
IToplevelProtocol isn't defined in MessageChannel.h.
2016-11-08 11:32:26 -08:00
Olli Pettay
b7858f5e83
bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm
2016-11-08 14:05:45 +02:00
David Anderson
3337f699c6
Make it safe to close an IPC channel that has already been closed by its remote endpoint. (bug 1314816 part 2, r=billm)
2016-11-04 18:31:30 -07:00
Bill McCloskey
288efd23fb
Bug 1312960 - Associate each message in IPC queue with the runnable that will run it (r=dvander)
2016-10-30 22:04:03 -07:00
Bill McCloskey
44c6c41179
Bug 1312960 - Remove FlushPendingInterruptQueue (r=dvander)
2016-10-30 22:04:02 -07:00
Bill McCloskey
9ca91954a3
Bug 1312960 - Use CancelableRunnable for mOnChannelConnectedTask (r=dvander)
2016-10-30 22:04:02 -07:00
Kan-Ru Chen
116d168836
Bug 1309799 - Make error message more stable. r=billm
...
MozReview-Commit-ID: IzhAfo7eYCC
2016-10-20 22:26:52 +08:00
Kan-Ru Chen
f8d9106f36
Bug 1309799 - Generate StringFromIPCMessageType and use it in MessageChannel::MaybeHandleError. r=billm
...
MozReview-Commit-ID: HSuAAM0JdjS
2016-10-13 14:18:45 +08:00
Bill McCloskey
efff0482ee
Bug 1306708 - Rename prio to nested in IPDL (r=dvander)
2016-10-04 20:34:54 -07:00
Bill McCloskey
71303baeea
Revert "Bug 1306708 - Rename prio to nested in IPDL (r=dvander)" on a CLOSED TREE
...
This reverts commit b1460c626078afbb9290e7d9ecaf3af605d5e893.
2016-10-04 15:55:19 -07:00
Bill McCloskey
c3a2885c30
Revert "Bug 1306708 - Fix rebasing bustage on a CLOSED TREE"
...
This reverts commit cfc7bb2a6a9710dd9963185f264c70950fd5595c.
2016-10-04 15:55:00 -07:00
Bill McCloskey
d171668e1f
Bug 1306708 - Fix rebasing bustage on a CLOSED TREE
2016-10-04 15:43:34 -07:00
Bill McCloskey
308f9f039b
Bug 1306708 - Rename prio to nested in IPDL (r=dvander)
2016-10-04 15:28:14 -07:00
Marco Castelluccio
3d1f3864b4
Bug 1164133 - Assert that we never send an async high priority message. r=billm
2016-10-01 12:14:49 +01:00
Nathan Froyd
c8af96977e
Bug 1305814 - fix -Wreorder warning in MessageChannel; r=billm
...
Initializer lists are supposed to initialize member variables in the
order they're listed in the class definition.
2016-09-28 04:44:11 -04:00
David Anderson
3cd404b1da
Don't allow double-closing of IPC channels. (bug 1301481, r=billm)
2016-09-19 19:17:09 -07:00
Nicholas Nethercote
887efe04d5
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
2016-09-01 15:01:16 +10:00
Igor
9c81c3c1ee
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
972b8460e2
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Honza Bambas
1d58e95c31
Bug 1290975 - turn mListener to a raw ptr, r=billm
2016-08-10 10:53:00 +02:00
Kyle Huey
a14a729d99
Bug 1274431: Fix some non-unified build issues. r=jld
2016-08-05 12:00:19 -07:00
Ting-Yu Chou
7e34467e29
Bug 1287044 - Annotate pending IPC messages when OOM due to too many of them. r=billm
2016-07-04 13:36:34 +08:00
David Anderson
b4510e53b3
Add a callback for top-level actors to free themselves. (bug 1285364, r=billm)
2016-07-13 11:21:58 -07:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Bill McCloskey
b544c80b47
Bug 1262671 - Use BufferList for Pickle (r=froydnj)
2016-05-27 09:57:41 -07:00
Bill McCloskey
014db8f121
Bug 1273307 - Remove copy constructor/assignment operator for Message/Pickle (r=froydnj)
2016-05-27 09:57:35 -07:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Kyle Huey
f5a071381f
Bug 1268313: Part 3 - Replace some NewCancelableRunnableMethod with NS_NewNonOwningCancelableRunnableMethod. r=froydnj
2016-05-05 01:44:59 -07:00
Kyle Huey
b91ceaea75
Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj
2016-05-05 01:44:59 -07:00
Kyle Huey
29ffff705f
Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj
2016-05-05 01:44:59 -07:00
Mason Chang
71c09bf546
Bug 1120485. Add logging to check if we're closing MessageChannel::mHandle twice. r=milan
2016-05-04 11:03:49 -07:00