зеркало из https://github.com/mozilla/gecko-dev.git
586ab4d842
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 |
||
---|---|---|
.. | ||
BinaryPath.h | ||
FileLocation.cpp | ||
FileLocation.h | ||
GeckoProcessTypes.h | ||
IOInterposer.cpp | ||
IOInterposer.h | ||
IOInterposerPrivate.h | ||
LateWriteChecks.cpp | ||
LateWriteChecks.h | ||
MainThreadIOLogger.cpp | ||
MainThreadIOLogger.h | ||
NSPRInterposer.cpp | ||
NSPRInterposer.h | ||
Omnijar.cpp | ||
Omnijar.h | ||
PoisonIOInterposer.h | ||
PoisonIOInterposerBase.cpp | ||
PoisonIOInterposerMac.cpp | ||
PoisonIOInterposerStub.cpp | ||
PoisonIOInterposerWin.cpp | ||
Services.py | ||
XPCOM.h | ||
XPCOMInit.cpp | ||
XPCOMModule.h | ||
XPCOMModule.inc | ||
XREAppData.h | ||
XREChildData.h | ||
XREShellData.h | ||
components.conf | ||
mach_override.c | ||
mach_override.h | ||
moz.build | ||
nsXPCOM.h | ||
nsXPCOMCID.h | ||
nsXPCOMCIDInternal.h | ||
nsXPCOMPrivate.h | ||
nsXULAppAPI.h | ||
perfprobe.cpp | ||
perfprobe.h | ||
xpcom_alpha.def | ||
xrecore.h |