gecko-dev/xpcom
Doug Thayer 586ab4d842 Bug 1607505 - Move StartupCache destructor later in shutdown r=froydnj
Since we've decoupled the writing of the StartupCache from the freeing
of the StartupCache's tables (which takes nontrivial time), this patch
moves the StartupCache's destructor later in shutdown so it will be
skipped in the early _exit(0) efforts. There is a remaining
WaitOnWriteThread in the StartupCache's destructor, but this is a
minor sanity check to avoid use-after-frees in the write thread during
shutdown. In general it won't matter as we already wait for the write
thread in the xpcom-shutdown observer, and if we shut down during write,
the system is set up to be okay with that (because it already happens).

Depends on D62294

Differential Revision: https://phabricator.services.mozilla.com/D62295

--HG--
extra : moz-landing-system : lando
2020-02-11 20:36:25 +00:00
..
base Bug 1607505 - Start writing StartupCache earlier in shutdown r=froydnj 2020-02-11 19:14:35 +00:00
build Bug 1607505 - Move StartupCache destructor later in shutdown r=froydnj 2020-02-11 20:36:25 +00:00
components Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-02-10 10:58:31 +00:00
doc
ds Bug 1594942 - Null-check the source of a range assignment in POD nsTArray before memcpying from it (because memcpy requires its arguments be non-null, even for zero-count data). r=froydnj 2020-02-04 14:57:43 +00:00
glue Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
idl-parser Bug 1611173 - Remove support for non-nsISupports XPIDL interfaces. r=nika 2020-01-24 23:13:30 +00:00
io Bug 1614361 - check GetPermissions call for failure; r=Gijs 2020-02-10 23:14:42 +00:00
libxpt/xptcall
reflect Bug 1241518 - Part 1: Remove unused nsAutoPtr.h includes in xpcom/ r=kmag 2020-01-07 00:06:01 +00:00
rust Bug 1587468 - Update uuid to 0.8.1. r=webdriver-reviewers,whimboo,emilio 2019-12-06 00:47:50 +00:00
string Bug 1611536 - Add stdint.h include for fixed-width integer types r=Ehsan 2020-01-25 00:40:51 +00:00
system Bug 1470591 - Part 1: Add a new process type for ForkServer. r=gsvelto 2019-12-05 00:03:29 +00:00
tests Bug 1539944 - Get rid of NS_NewThread r=froydnj 2020-02-11 21:01:56 +00:00
threads Bug 1539944 - Get rid of NS_NewThread r=froydnj 2020-02-11 21:01:56 +00:00
windbgdlg
xpidl
moz.build
xpcom-config.h.in Bug 1570982 - remove `CPP_THROW_NEW`; r=glandium 2019-08-14 01:32:41 +00:00
xpcom-private.h.in