gecko-dev/js
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
..
ductwork/debugger Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
examples
ipc Bug 1339036 - Rename JSTYPE_VOID to JSTYPE_UNDEFINED. r=arai 2017-02-13 17:26:16 +01:00
public Bug 1319087 - Implement a CrossCompartmentWrapper IC stub. r=bz,bholley,jandem 2017-02-22 21:16:04 +01:00
src Bug 1339986 - Handle export* when checking for duplicate export. r=jonco 2017-02-22 06:58:29 -08:00
xpconnect Bug 1340928 (part 10) - Remove nested calls to profiler_{init,shutdown}(). r=mstange. 2017-02-15 17:08:38 +11:00
ffi.configure Bug 1335666 - Remove @depends_when. r=chmanchester 2017-02-01 16:25:29 +09:00
moz.configure Backed out changeset 54d759872a2c (bug 1332466) for build failures a=backout 2017-02-02 16:05:55 -08:00