gecko-dev/ipc/mscom
Aaron Klotz e3fdd6169e Bug 1367885: Add a fast path to mscom Interceptor construction; r=jimm
MozReview-Commit-ID: AmS5oBNV7Po

When creating a new interceptor, we already have the correct target interface.
The interceptor ignores this and does a redundant inter-thread QI to resolve
an interface that we already have!

This patch adds a fast path to interceptor initialization that skips all of that
stuff and directly initializes itself using the given target interceptor.

--HG--
extra : rebase_source : dcfff7270efd5bda990e240bb06a9206656d5852
2017-06-06 18:30:19 -06:00
..
oop Bug 1303060: Simplifications to mscom handler code; r=jimm 2017-03-27 18:41:06 -06:00
ActivationContext.cpp Bug 1310841: Make mscom registration use CoGetClassObject so that COM will retain a reference to the proxy dll; r=jimm 2016-10-25 15:04:47 -06:00
ActivationContext.h Bug 1331687: Overload mscom::RegisterProxy to allow proxy registration from within xul.dll itself; r=jimm 2017-01-17 13:19:40 -07:00
Aggregation.h Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm 2017-02-17 17:30:03 -07:00
AgileReference.cpp Bug 1338596: Add support for agile references to mscom; r=jimm 2017-02-10 11:18:26 -07:00
AgileReference.h Bug 1338596: Add support for agile references to mscom; r=jimm 2017-02-10 11:18:26 -07:00
AsyncInvoker.h Bug 1322532: Platform a11y changes to enable handler-based live regions; r=tbsaunde 2017-04-13 20:35:32 -06:00
COMApartmentRegion.h Bug 1277075: Add MainThreadRuntime class to mscom glue, enabling safe initialization of COM security and exception handlers; r=jimm 2016-07-20 11:10:46 -06:00
COMPtrHolder.h Bug 1354077: Fix missing interface registration annotations for CoGetInterfaceAndReleaseStream failures; r=jimm 2017-05-19 13:59:49 -06:00
DispatchForwarder.cpp Bug 1322460 - Don't addref/release on the return value of prohibited functions. r=aklotz,Ehsan 2016-12-14 14:34:26 +08:00
DispatchForwarder.h Bug 1298462 - tidy ipc/mscom/ files to avoid warnings from clang-cl; r=aklotz 2016-08-26 14:26:29 -04:00
DynamicallyLinkedFunctionPtr.h Bug 1338596: Add support for agile references to mscom; r=jimm 2017-02-10 11:18:26 -07:00
EnsureMTA.cpp Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm. 2016-09-02 17:12:24 +10:00
EnsureMTA.h Bug 1322465 part 6 - Use explicit/MOZ_IMPLICIT for the unary constructors in ipc/. r=aklotz,Ehsan 2016-12-16 15:56:04 +08:00
IHandlerProvider.h Bug 1303060: Changes to a11y to enable the serving of a COM handler; r=tbsaunde 2017-04-04 15:23:55 -06:00
Interceptor.cpp Bug 1367885: Add a fast path to mscom Interceptor construction; r=jimm 2017-06-06 18:30:19 -06:00
Interceptor.h Bug 1367885: Add a fast path to mscom Interceptor construction; r=jimm 2017-06-06 18:30:19 -06:00
InterceptorLog.cpp Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto. 2017-04-26 14:55:54 +10:00
InterceptorLog.h Bug 1287875: Adds a logging facility for intercepted COM traffic; r=jimm 2016-07-14 17:11:33 -06:00
InterfaceRegistrationAnnotator.cpp Bug 1354077: Fix some problems with RegGetValue call failing due to failed type checking; r=jimm 2017-05-25 14:08:55 -06:00
InterfaceRegistrationAnnotator.h Bug 1354077: Annotate crash reports with COM interface configuration information when marshaling fails; r=jimm 2017-05-04 15:41:35 -06:00
MainThreadHandoff.cpp Bug 1367715: Convert IsProxy check to assertion to avoid unnecessary and potentially incorrect off-main-thread QIs on release builds; r=jimm 2017-05-25 12:10:30 -06:00
MainThreadHandoff.h Bug 1303060: Changes to a11y to enable the serving of a COM handler; r=tbsaunde 2017-04-04 15:23:55 -06:00
MainThreadInvoker.cpp Bug 1339945: Refactor mscom::MainThreadInvoker's wait mechanism into a separate class; r=handyman 2017-02-10 11:27:01 -07:00
MainThreadInvoker.h Bug 1344965: Clean up mscom interfaces to improve separation of concerns; r=jimm 2017-03-06 17:22:43 -07:00
MainThreadRuntime.cpp Bug 1335235: Add disabling of the COM BSTR cache to mscom::MainThreadRuntime; r=jimm 2017-01-30 16:39:08 -07:00
MainThreadRuntime.h Bug 1277075: Add MainThreadRuntime class to mscom glue, enabling safe initialization of COM security and exception handlers; r=jimm 2016-07-20 11:10:46 -06:00
moz.build Bug 1354077: Annotate crash reports with COM interface configuration information when marshaling fails; r=jimm 2017-05-04 15:41:35 -06:00
ProxyStream.cpp Bug 1354077: Fix missing interface registration annotations for CoGetInterfaceAndReleaseStream failures; r=jimm 2017-05-19 13:59:49 -06:00
ProxyStream.h Bug 1354077: Fix missing interface registration annotations for CoGetInterfaceAndReleaseStream failures; r=jimm 2017-05-19 13:59:49 -06:00
Ptr.h Bug 1303060: Simplifications to mscom handler code; r=jimm 2017-03-27 18:41:06 -06:00
Registration.cpp Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm 2017-02-17 17:30:03 -07:00
Registration.h Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm 2017-02-17 17:30:03 -07:00
SpinEvent.cpp Bug 1350688 - Use a thread safe way to get the CPU count in the SpinEvent ctor. r=aklotz 2017-03-26 06:56:01 -07:00
SpinEvent.h Bug 1339945: Refactor mscom::MainThreadInvoker's wait mechanism into a separate class; r=handyman 2017-02-10 11:27:01 -07:00
StructStream.cpp Bug 1338609: Add the ability to serialize and deserialize structs using Microsoft RPC to mscom; r=jimm 2017-02-17 14:26:56 -07:00
StructStream.h Bug 1338609: Add the ability to serialize and deserialize structs using Microsoft RPC to mscom; r=jimm 2017-02-17 14:26:56 -07:00
Utils.cpp Bug 1354077: Annotate crash reports with COM interface configuration information when marshaling fails; r=jimm 2017-05-04 15:41:35 -06:00
Utils.h Bug 1354077: Annotate crash reports with COM interface configuration information when marshaling fails; r=jimm 2017-05-04 15:41:35 -06:00
WeakRef.cpp Bug 1336510 - Part 10: Remove unnecessary assertion from SharedRef::Clear(), r=aklotz 2017-02-24 14:34:32 -05:00
WeakRef.h Bug 1342992: Make mscom::Weakref final; r=jimm 2017-02-27 11:44:45 -07:00