Commit Graph

428 Commits

Author SHA1 Message Date
Ms2ger
df62fb8b0f Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
17e959d672 Bug 912099 - Part b: Make sure CPP_SOURCES only points to existing files in ipc/chromium; r=mshal 2013-10-03 09:10:00 +02:00
David Anderson
9af725998a Introduce new RPC messaging semantics (bug 910493 part 1, r=cjones). 2013-10-01 09:15:03 -07:00
Mark Hammond
91247a80e1 Bug 920397 part 1 - base::CloseProcessHandle() checks result in debug builds and is used everywhere a process handle is closed. r=bsmedberg 2013-10-01 10:56:15 +10:00
David Anderson
9579f654ae Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
025fc12dba Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
b4b97e6a1b Bug 771765 - Support template content process, part 2: IPC and glue changes. r=bent
Changes include:
* Getting/resetting platform thread ID.
* Creating an IPC channel with existing file descriptor sent from the template process.
* Child process host with existing process forked from the template.
2013-05-31 21:16:54 +08:00
David Anderson
8cd94ee096 Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00
Benoit Girard
69db6d5c6f Bug 919712 - Add labels in IPC message wait. r=benjamin 2013-09-24 11:40:01 -04:00
Nathan Froyd
02047ceace Bug 909922 - don't pragma pack ipc message headers; r=bent
The IPC::Message header is surrounded by:

#pragma pack(push,2)
...
#pragma pack(pop)

which (at least on GCC) specifies that structure members defined lexically
within the pragma should be two-byte aligned, rather than the ABI's declared
alignment.

But for IPC::Message::Header, this is a silly requirement, as everything there
is four bytes; there's no reason to pack the members any tighter.  And packing
tighter means that strict alignment platforms (like ARM) need to use more
complex code for something as simple as storing to one of the members--like
when we set a message's request ID, over and over and over.  The current code
for setting a message's request ID on ARM looks like:

     264:	6863      	ldr	r3, [r4, #4]
     266:	696a      	ldr	r2, [r5, #20]
     268:	809a      	strh	r2, [r3, #4]
     26a:	0c12      	lsrs	r2, r2, #16
     26c:	80da      	strh	r2, [r3, #6]

With the patch, it looks like:

     264:	6863      	ldr	r3, [r4, #4]
     266:	696a      	ldr	r2, [r5, #20]
     268:	605a      	str	r2, [r3, #4]

Only four bytes, but multiplied over several hundred set_routing_id calls, it
saves some code size and runtime.  I verified that the header's length doesn't
change by looking at debug information.
2013-08-27 16:32:44 -04:00
Jed Davis
9c9b491acd Bug 915129 - Don't link in epoll_sub.c from libevent on Android or B2G. r=bent 2013-09-12 11:08:50 -04:00
Ms2ger
e906ac3347 Bug 913953 - Part ab: Remove unused WriteInto function; r=ehsan 2013-09-10 09:03:37 +02:00
Ms2ger
dc24d8f2ff Bug 913953 - Part aa: Remove unused GetNonClientMetrics function; r=ehsan 2013-09-10 09:03:37 +02:00
Ms2ger
e8d8c2aa6d Bug 913953 - Part z: Remove unused GetServicePackLevel function; r=ehsan 2013-09-10 09:03:37 +02:00
Ms2ger
7fb65df9c9 Bug 913953 - Part y: Remove unused AddAccessToKernelObject function; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
16f094bb2c Bug 913953 - Part x: Remove unused GetUserSidString function; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
690f84e910 Bug 913953 - Part w: Remove unused GetLogonSessionOnlyDACL function; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
3999ae8ff5 Bug 913953 - Part v: Remove unused HWND subclassing functions; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
e9da5f76c4 Bug 913953 - Part u: Remove unused HWND user data functions; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
6c0f427056 Bug 913953 - Part t: Remove unused HWND creation/destruction functions; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
900116ed13 Bug 913953 - Part s: Remove unused UserAccountControlIsEnabled function; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
b964864401 Bug 913953 - Part r: Remove unused GetClassName function; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
7548a1d1d8 Bug 913953 - Part q: Remove unused MatchPattern function; r=ehsan 2013-09-10 09:03:35 +02:00
Ms2ger
0ac200bac6 Bug 913953 - Part p: Remove unused GetPagefileUsage function; r=ehsan 2013-09-10 09:03:35 +02:00
Ms2ger
92929d4b97 Bug 913953 - Part o: Remove unused GetPeakPagefileUsage function; r=ehsan 2013-09-10 09:03:35 +02:00
Ms2ger
b7ec9eec8a Bug 913953 - Part n: Remove unused GetWorkingSetSize function; r=ehsan 2013-09-10 09:03:35 +02:00
Ms2ger
7e687688ca Bug 913953 - Part m: Remove unused GetPrivateBytes function; r=ehsan 2013-09-10 09:03:35 +02:00
Ms2ger
6671124154 Bug 913953 - Part l: Remove unused FreeMBytes struct; r=ehsan 2013-09-10 09:03:34 +02:00
Ms2ger
b603b8815d Bug 913953 - Part k: Remove unused GetCommittedKBytes function; r=ehsan 2013-09-10 09:03:34 +02:00
Ms2ger
8bf3c09c84 Bug 913953 - Part j: Remove unused GetWorkingSetKBytes function; r=ehsan 2013-09-10 09:03:34 +02:00
Ms2ger
b5d8596fbf Bug 913953 - Part i: Remove unused ReduceWorkingSet and UnReduceWorkingSet functions; r=ehsan 2013-09-10 09:03:34 +02:00
Ms2ger
91917950e4 Bug 913953 - Part h: Remove unused WaitForExitCode and GetAppOutput functions; r=ehsan 2013-09-10 09:03:33 +02:00
Ms2ger
e0827d9a59 Bug 913953 - Part g: Remove unused GetProcessCount function; r=ehsan 2013-09-10 09:03:33 +02:00
Ms2ger
2ada555d48 Bug 913953 - Part f: Remove unused process cleanup code; r=ehsan 2013-09-10 09:03:33 +02:00
Ms2ger
171ef55b44 Bug 913953 - Part e: Remove unused conversion code from CFStringRef and NSString; r=ehsan 2013-09-10 09:03:32 +02:00
Ms2ger
0efa453cb9 Bug 913953 - Part d: Remove unused conversion code to CFStringRef and NSString; r=ehsan 2013-09-10 09:03:31 +02:00
Ms2ger
078b7cbfe8 Bug 913953 - Part c: Remove unused FSRef code; r=ehsan 2013-09-10 09:03:31 +02:00
Ms2ger
0822e2b2c1 Bug 913953 - Part b: Remove unused override app bundle code; r=ehsan 2013-09-10 09:03:31 +02:00
Ms2ger
1ee2273887 Bug 913953 - Part a: Remove unused JavascriptDoubleQuote functions; r=ehsan 2013-09-10 09:03:31 +02:00
Ms2ger
0c117c4c91 Bug 909028 - Remove dead chromium code; r=ehsan, rs=bent 2013-09-06 08:42:41 +02:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Jeff Walden
c5dd957eae Bug 730805 - Provide mozilla/IntegerPrintfMacros.h to implement the PRI* macros portion of the <inttypes.h> interface. r=espindola
--HG--
extra : rebase_source : be80333003c6fec659e736a77463568c836d8348
2011-12-15 00:27:42 -05:00
Landry Breuil
7878ff7e42 Bug 909005: use getdents() on OpenBSD now that it is available r=glandium 2013-09-02 08:54:42 +02:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Steven Michaud
c234b2299d Bug 884471 - Backport upstream libevent patch to hopefully work around the OSX "code -20" mochitest failures. r=bsmedberg 2013-08-27 14:15:49 -04:00
Ms2ger
8085d723ed Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Trevor Saunders
86d20580f1 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Brian O'Keefe
08e5de443f Bug 896177 - Remove more config.mk includes; r=gps 2013-07-17 16:07:14 -04:00
Ms2ger
3d504dcb66 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00