gecko-dev/xpcom
Doug Thayer 615de231ee Bug 1607505 - Move StartupCache destructor later in shutdown r=froydnj a=reland CLOSED TREE
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).

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

--HG--
extra : source : d79f1d283acde1a971fe0e5e6f1a8db075f8589a
extra : histedit_source : 32a2b4fec1fcf35960155b0f4280a38bcb54ec19
2020-02-12 19:03:29 +00:00
..
base Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
build Bug 1607505 - Move StartupCache destructor later in shutdown r=froydnj a=reland CLOSED TREE 2020-02-12 19:03:29 +00:00
components Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +00:00
doc
ds Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
glue Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +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 1614139 - Copy constructor of nsPipeInputStream should not be declared explicit. r=froydnj 2020-02-13 16:09:09 +00:00
libxpt/xptcall
reflect Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +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 1613985 - Use default for equivalent-to-default constructors/destructors in xpcom. r=froydnj 2020-02-12 11:13:33 +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 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
threads Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +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