Commit Graph

299 Commits

Author SHA1 Message Date
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
Andrew McCreight
5b8d771052 Bug 1268938 - Use the name of the original message in Send for reply telemetry. r=billm
aReply usually won't have a name properly set, but aMsg does. To avoid
accessing aMsg after it dies, copy the pointer to the name.
2016-05-02 20:37:40 -07:00
Carsten "Tomcat" Book
70be75ac0e Backed out changeset af51821b2fc5 (bug 1268313) for causing very frequent bc7 memory leak 2016-04-29 14:22:04 +02:00
Carsten "Tomcat" Book
d10653e369 Backed out changeset fd833da413ad (bug 1268313) 2016-04-29 14:21:25 +02:00
Carsten "Tomcat" Book
0dfb08d42e Backed out changeset 3f2f3fcac66b (bug 1268313) 2016-04-29 14:21:23 +02:00
Carsten "Tomcat" Book
aadd508ffe Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey
dd7f2720fb Bug 1268313: Part 3 - Replace some NewCancelableRunnableMethod with NS_NewNonOwningCancelableRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
b334682d78 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
771b31efe2 Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
f3e34e67b3 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
Andrea Marchesini
0b0d05f69d Bug 1261094 - Improve how MessageChannel::mInterruptStack is used in IPC code, r=jld 2016-04-28 07:21:49 +08:00
Bill McCloskey
f38fe225f4 Bug 1264820 - Measure IPC reply size in telemetry (r=mccr8) 2016-04-26 13:50:56 -07:00
Daniel Holbert
08369c70b7 Backed out changeset ae89c24b7692 (bug 1264820) for -Werror build bustage
MozReview-Commit-ID: ECNuGMefyqC
2016-04-20 15:41:32 -07:00
Bill McCloskey
33809f4a17 Bug 1264820 - Measure IPC reply size in telemetry (r=mccr8) 2016-04-20 14:55:35 -07:00
Andrew McCreight
176cbbed14 Bug 1264662 - Record IPC message capacity instead of size. r=billm
Capacity includes internal fragmentation, while size does not.

This requires making capacity() public, but that seems benign.
2016-04-14 17:46:52 -07:00
Ting-Yu Chou
ec79a2e5a1 Bug 1260736 - Let the client to filter out its interested messages to lower the number of times entering the monitor in PeekMessages(). r=dvander 2016-04-13 09:51:34 +08:00
Bill McCloskey
5dbc026b0c Bug 1235633 - IPC OOM mitigation by eliminating buffer copying (r=jld) 2016-04-07 17:15:26 -07:00
Mason Chang
12b2cabd9f Bug 1120485. Log CloseHandle error reason during MessageChannel shutdown failure. r=milan 2016-04-06 09:03:22 -07:00
Andrew McCreight
8e90497e7e Bug 1261099 - Avoid two Message copies in MaybeUndeferIncall. r=billm 2016-04-04 10:13:43 -07:00
Bill McCloskey
a772e66968 Bug 1260908 - Record IPC message sizes (r=dvander) 2016-04-01 11:22:27 -07:00
Wes Kocher
a1f94ce495 Backed out 2 changesets (bug 1260908) for build bustage
Backed out changeset 5582a25d289d (bug 1260908)
Backed out changeset 9612cef48d43 (bug 1260908)

MozReview-Commit-ID: BKeDiGZ8Z8B
2016-04-01 10:44:27 -07:00
Bill McCloskey
0b4bff6e58 Bug 1260908 - Record IPC message sizes (r=dvander) 2016-04-01 09:59:19 -07:00
Ting-Yu Chou
8214d6ad26 Bug 1255968 - Part 1: Let the callback of PeekMessages() to return a boolean to be able to break out the loop. r=dvander 2016-03-28 11:02:18 +08:00
Benoit Girard
eb9179796c Bug 1257314 - Properly lock in IPC PeekMessages. r=dvander a=topcrash
MozReview-Commit-ID: 8iUVhiN9Ksk
2016-03-16 17:15:38 -04:00
Benoit Girard
67f3936d3b Bug 1242609 - Implement PeekMessage to get some messages earlier. r=billm
MozReview-Commit-ID: KbRiPTDRJmp
2016-03-14 11:22:32 -04:00
Gregor Wagner
4463e648bf Bug 1254471 - Fix MessageChannel.cpp error unused variable transaction. r=billm 2016-03-08 16:53:43 +01:00
Bill McCloskey
13dc094e0e Bug 1248750 - Eliminate intentional IPC crashes (r=dvander) 2016-03-06 14:38:07 -08:00
Bill McCloskey
f8a977d013 Back out bug 1248750 on a CLOSED TREE 2016-03-04 16:04:41 -08:00
Bill McCloskey
4f5330f656 Bug 1248750 - Eliminate intentional IPC crashes (r=dvander) 2016-03-04 14:51:08 -08:00
Bill McCloskey
dc1fdd0ff2 Bug 1240985 - IPC fuzzer (r=gabor) 2016-03-04 14:51:08 -08:00
Bogdan Postelnicu
94ff2fbc9c Bug 1246886 - initialize mMoved in move contructor. r=billm 2016-02-09 11:21:39 +02:00
Bill McCloskey
cddc619657 Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld) 2016-02-05 10:42:38 -08:00
Carsten "Tomcat" Book
15bf0ec12d Backed out changeset 0d358cdf1ce4 (bug 1237458) for bustage 2016-02-05 08:13:50 +01:00
Bill McCloskey
d19aefa81c Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld) 2016-02-04 22:29:05 -08:00
Bill McCloskey
55d7a1b5b8 Bug 1191145 - Stop blocking scripts when handling IPC messages (r=dvander) 2016-02-01 20:43:29 -08:00
Bill McCloskey
5c62e60b14 Bug 1240985 - Stop returning MsgNotAllowed (r=dvander) 2016-01-27 15:09:05 -08:00
Bill McCloskey
0a8d35d245 Bug 1240985 - Check WasTransactionCanceled after timeout (and avoid timing out) (r=dvander) 2016-01-27 15:09:04 -08:00
Bill McCloskey
4ffcee4063 Bug 1240985 - Null out mRecvd if message it corresponds to is cancelled (r=dvander) 2016-01-27 15:09:03 -08:00