gecko-dev/xpcom/build
David Keeler 1eadd3d4ac bug 1417680 - explore the feasibility of making XPCOM responsible for shutting down NSS r=jcj r=franziskus r=erahm
Historically, PSM has handled tracking NSS resources, releasing them, and
shutting down NSS in a coordinated manner (i.e. preventing races,
use-after-frees, etc.). This approach has proved intractable. This patch
introduces a new approach: have XPCOM shut down NSS after all threads have been
joined and the component manager has been shut down (and so there shouldn't be
any XPCOM objects holding NSS resources).

Note that this patch only attempts to determine if this approach will work. If
it does, we will have to go through alter and remove the remnants of the old
approach (i.e. nsNSSShutDownPreventionLock and related machinery). This will be
done in bug 1421084.

MozReview-Commit-ID: LjgEl1UZqkC

--HG--
extra : rebase_source : 2182e60d04e89a91278d5ee91610f8f37d99a9c9
2017-11-10 15:03:23 -08:00
..
BinaryPath.h Bug 1403366 - Stop requiring argv[0] for XRE_GetBinaryPath and the underlying BinaryPath::Get. r=froydnj 2017-09-28 10:37:27 +09:00
FileLocation.cpp Bug 870698 - Part 3: Replace Insert("") with InsertLiteral(""). r=erahm 2017-09-05 12:41:31 -07:00
FileLocation.h Bug 1363482: Part 2 - Allow pre-loading file and JAR entry contents off-thread during startup. r=erahm 2017-08-30 15:47:17 -07:00
IOInterposer.cpp
IOInterposer.h Bug 1407458 - Use nsString for Observation filenames. r=erahm. 2017-10-17 08:22:12 +11:00
IOInterposerPrivate.h
LateWriteChecks.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
LateWriteChecks.h
MainThreadIOLogger.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
MainThreadIOLogger.h
NSPRInterposer.cpp
NSPRInterposer.h
Omnijar.cpp
Omnijar.h
PoisonIOInterposer.h
PoisonIOInterposerBase.cpp Bug 1373525 - xpcom/build: Remove unused member function DebugFilesAutoLock::Clear(). r=froydnj 2017-06-07 00:56:55 -07:00
PoisonIOInterposerMac.cpp Bug 1407458 - Use nsString for Observation filenames. r=erahm. 2017-10-17 08:22:12 +11:00
PoisonIOInterposerStub.cpp
PoisonIOInterposerWin.cpp Bug 1407458 - Use nsString for Observation filenames. r=erahm. 2017-10-17 08:22:12 +11:00
ServiceList.h Bug 1427419 - Part 27: Remove inIDOMUtils. r=bz 2018-01-11 12:38:01 +08:00
Services.cpp Bug 1427419 - Part 27: Remove inIDOMUtils. r=bz 2018-01-11 12:38:01 +08:00
Services.h Bug 1336086 - remove mozilla::services::_external_Get*Service; r=bsmedberg,jesup 2017-02-03 11:52:02 -05:00
XPCOM.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
XPCOMInit.cpp bug 1417680 - explore the feasibility of making XPCOM responsible for shutting down NSS r=jcj r=franziskus r=erahm 2017-11-10 15:03:23 -08:00
XPCOMModule.inc Bug 1412981 - Remove nsIStatusReporter as it is unused. r=froydnj 2017-10-30 18:49:05 +00:00
XREAppData.h Bug 1407838 - Replace UniquePtr<T, NSFreePolicy> with UniqueFreePtr. r=njn 2017-10-12 11:22:05 +09:00
XREChildData.h Bug 1332530 - Move GMPLoader code out of plugin-container and back into XUL. r=gerald 2017-01-19 15:39:03 +13:00
XREShellData.h
mach_override.c Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
mach_override.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
moz.build Bug 1320134 - Part 4: Remove the debug patches for running out of TLS slots on Windows. r=froydnj 2017-08-21 16:24:29 +08:00
nsWindowsDllInterceptor.h Bug 1411001 - Remove the +x permissions on cpp & h files r=froydnj 2017-10-23 20:59:55 +02:00
nsXPCOM.h Bug 1407838 - Remove the remains of NS_Alloc/NS_Realloc/NS_Free. r=njn 2017-10-12 11:08:44 +09:00
nsXPCOMCID.h Bug 1412981 - Remove nsIStatusReporter as it is unused. r=froydnj 2017-10-30 18:49:05 +00:00
nsXPCOMCIDInternal.h
nsXPCOMPrivate.h
nsXULAppAPI.h Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman 2018-01-10 08:52:04 +01:00
perfprobe.cpp
perfprobe.h
xpcom_alpha.def
xrecore.h Bug 1306329 - Stop exporting XPCOM and XUL symbols. r=glandium 2016-12-02 12:55:34 -05:00