gecko-dev/xpcom/build
Nicholas Nethercote 352554c8f6 Bug 1340928 (part 10) - Remove nested calls to profiler_{init,shutdown}(). r=mstange.
The profiler can currently handle nested calls to profiler_{init,shutdown}() --
only the first call to profiler_init() and the last call to profiler_shutdown()
do anything. And sure enough, we have the following.

- Outer init/shutdown pairs in XRE_main()/XRE_InitChildProcess() (via
  GeckoProfilerInitRAII).

- Inner init/shutdown pairs in NS_InitXPCOM2()/NS_InitMinimalXPCOM() (both shut
  down in ShutdownXPCOM()).

This is a bit silly, so the patch removes the inner pairs, and adds a
now-needed pair in XRE_XPCShellMain. This will allow gInitCount -- which tracks
the nesting depth -- to be removed in a future patch.

--HG--
extra : rebase_source : 7e8dc6ce81ce10269d2db6a7bf32852c396dba0e
2017-02-15 17:08:38 +11:00
..
BinaryPath.h Bug 1332523 - Add BinaryPath::Get variant that returns a UniquePtr instead of filling a stack buffer. r=bsmedberg 2017-01-13 09:40:54 +09:00
FileLocation.cpp Bug 1338086 - Remove useless else blocks in order to reduce complexity in xpcom/ r=froydnj 2017-02-09 15:31:35 +01:00
FileLocation.h
IOInterposer.cpp Bug 1298676 - part 1 - add IOInterposer::Enable(); r=aklotz 2017-01-10 16:31:25 -05:00
IOInterposer.h Bug 1298676 - part 2 - add an AutoIOInterposerDisable RAII class; r=aklotz 2017-01-10 16:31:25 -05:00
IOInterposerPrivate.h
LateWriteChecks.cpp Bug 1341023 - Take module name encoding into account for late writes and hangs. r=Dexter 2017-02-21 22:44:42 +00:00
LateWriteChecks.h
MainThreadIOLogger.cpp Merge inbound to m-c. a=merge 2017-01-07 11:22:47 -05:00
MainThreadIOLogger.h
NSPRInterposer.cpp Bug 1317954 - Use C++11's override and remove virtual where applicable in xpcom/. r=froydnj 2016-11-16 14:27:07 +02:00
NSPRInterposer.h
Omnijar.cpp Bug 1265621 - Expose outer zip readers in Omnijar::GetReader; r=froydnj 2016-04-28 16:07:02 -04:00
Omnijar.h Bug 1265621 - Expose outer zip readers in Omnijar::GetReader; r=froydnj 2016-04-28 16:07:02 -04:00
PoisonIOInterposer.h
PoisonIOInterposerBase.cpp
PoisonIOInterposerMac.cpp
PoisonIOInterposerStub.cpp
PoisonIOInterposerWin.cpp
ServiceList.h Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov 2016-08-08 20:51:39 -04:00
Services.cpp Bug 1336086 - remove mozilla::services::_external_Get*Service; r=bsmedberg,jesup 2017-02-03 11:52:02 -05:00
Services.h Bug 1336086 - remove mozilla::services::_external_Get*Service; r=bsmedberg,jesup 2017-02-03 11:52:02 -05:00
XPCOM.h Bug 1315812 - Mark nsISupportsArray, nsICollection, nsIEnumerator as deprecated. r=froydnj 2016-11-10 13:15:33 -08:00
XPCOMInit.cpp Bug 1340928 (part 10) - Remove nested calls to profiler_{init,shutdown}(). r=mstange. 2017-02-15 17:08:38 +11:00
XPCOMModule.inc Add memory reporting message support to PGPU. (bug 1321492 part 6, r=rhunt, r=erahm) 2017-01-26 16:35:54 -08:00
XREAppData.h Bug 1284897 - Add mechanism to libsandbox_s to track names of files that have been given special sandbox access permissions (PermissionsService). r=bobowen, r=glandium 2017-02-14 15:08:40 -08:00
XREChildData.h Bug 1332530 - Move GMPLoader code out of plugin-container and back into XUL. r=gerald 2017-01-19 15:39:03 +13:00
XREShellData.h Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium 2016-05-15 16:41:40 +01:00
mach_override.c
mach_override.h
moz.build Bug 1306327 - Remove everything related to frozen functions from the XPCOM glue. r=bsmedberg 2017-01-10 17:12:43 +09:00
nsWindowsDllInterceptor.h Bug 1328996 - Add ability for 64-bit MOV instructions (those with REX.W bit set) to be patched in the DLL interceptor harness. r=aklotz 2017-02-03 11:58:20 -08:00
nsXPCOM.h Bug 1331820 - Disallow NS_ConvertUTF16toUTF8 for NS_NewNativeLocalFile. r=froydnj 2017-01-21 15:48:56 +09:00
nsXPCOMCID.h Bug 1329718 - remove nsISupportsVoid and associated machinery; r=erahm 2017-01-10 16:31:48 -05:00
nsXPCOMCIDInternal.h
nsXPCOMPrivate.h Bug 1306327 - Remove everything related to frozen functions from the XPCOM glue. r=bsmedberg 2017-01-10 17:12:43 +09:00
nsXPCOMStrings.cpp Bug 1305422 - part 11 - don't call size_forward in nsXPCOMStrings.cpp; r=erahm 2016-09-29 22:33:57 -04:00
nsXULAppAPI.h Bug 1330533 - Remove XRE_LibFuzzerGetFuncs. r=decoder 2017-01-12 16:02:50 +09:00
perfprobe.cpp
perfprobe.h
xpcom_alpha.def
xrecore.h Bug 1306329 - Stop exporting XPCOM and XUL symbols. r=glandium 2016-12-02 12:55:34 -05:00