gecko-dev/xpcom
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
..
base Bug 1336467 - Don't blacken weakmap key unless both the delegate and the map are black r=mccr8 2017-02-16 10:29:33 +00:00
build Bug 1340928 (part 10) - Remove nested calls to profiler_{init,shutdown}(). r=mstange. 2017-02-15 17:08:38 +11:00
components Bug 1339289 - Give names to a lot of common runnables (r=ehsan) 2017-02-15 12:30:01 -08:00
doc
ds Bug 1340581 - Add some release-grade assertions to mozilla::Tokenizer to catch string overflows. r=froydnj 2017-02-22 06:53:00 -05:00
glue 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
idl-parser Backed out changeset c8fe57b085bd (bug 1333631) 2017-01-30 23:17:34 +01:00
io Backed out changeset 5739a7f790f2 (bug 1333899) for failing reftest svg-image-datauri-1.html on Linux opt and pgo. r=backout 2017-02-22 10:00:50 +01:00
libxpt/xptcall
reflect Bug 1338086 - Remove useless else blocks in order to reduce complexity in xpcom/ r=froydnj 2017-02-09 15:31:35 +01:00
rust/nsstring Bug 1339218 - Comment wording fixup, r=me 2017-02-15 12:10:46 -05:00
string Bug 1339968 - Remove NS_MULTILINE_LITERAL_STRING. r=froydnj 2017-02-17 15:24:11 +13:00
system Backed out changeset eae2252a519f (bug 1321593) for leaks, e.g. in clipboard and jetpack tests. r=backout 2016-12-12 22:10:17 +01:00
tests Merge inbound to m-c a=merge 2017-02-17 13:38:51 -08:00
threads Merge inbound to m-c a=merge 2017-02-17 13:38:51 -08:00
typelib Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps 2017-02-07 17:52:56 +01:00
windbgdlg Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
xpidl Bug 1293784 - Only recurse into xpcom/idl-parser/xpidl once; r=gps 2016-08-09 16:58:18 -04:00
moz.build Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj 2016-09-20 11:26:43 -04:00
xpcom-config.h.in Bug 1326145 - Remove HAVE_CPP_AMBIGUITY_RESOLVING_USING. r=froydnj 2016-12-29 18:05:20 +11:00
xpcom-private.h.in