gecko-dev/xpcom/base
Andrew McCreight 7f21d47f87 Bug 1308652, part 2 - Only allow nsTraceRefcnt::DumpStatistics to be called once. r=froydnj
DumpStatistics does not track any objects that are created or
destroyed while it is running, which means that any subsequent calls
to it will produce incorrect results. This can lead to incorrect
positive or negative leaks being reported. See 1271182.

Now that about:bloat has been removed, DumpStatistics should only be
called once, during shutdown.

MozReview-Commit-ID: IjMkExeBRBr

--HG--
extra : rebase_source : 5966789c2febfedc796d17f8589e8c3703d266cb
2016-10-10 11:55:15 -07:00
..
AvailableMemoryTracker.cpp Bug 1301667 - Increase the low memory threshold under Windows and clean up the available memory tracker r=njn 2016-09-14 13:52:45 +02:00
AvailableMemoryTracker.h
ClearOnShutdown.cpp
ClearOnShutdown.h
CodeAddressService.h
CountingAllocatorBase.h Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm. 2016-08-24 15:23:45 +10:00
CycleCollectedJSContext.cpp Bug 1301301, part 1 - Unify NoteJSObject and NoteJSScript into NoteJSChild. r=smaug 2016-09-23 15:42:13 -07:00
CycleCollectedJSContext.h Bug 1301301, part 2 - Add Scope as an AddToCCKind. r=smaug 2016-09-23 15:42:13 -07:00
Debug.cpp
Debug.h
DebuggerOnGCRunnable.cpp Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8 2016-09-14 15:47:32 +02:00
DebuggerOnGCRunnable.h Bug 1295053 (part 4) - Don't use NS_METHOD for remaining xpcom functions. r=froydnj. 2016-08-15 14:49:26 +10:00
DeferredFinalize.cpp Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8 2016-09-14 15:47:32 +02:00
DeferredFinalize.h
ErrorList.h Bug 1300986 - Improve exception messages for XMLHttpRequest. r=smaug 2016-09-28 13:04:17 -04:00
ErrorNames.cpp
ErrorNames.h
HoldDropJSObjects.cpp Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8 2016-09-14 15:47:32 +02:00
HoldDropJSObjects.h
JSObjectHolder.cpp
JSObjectHolder.h
LinuxUtils.cpp
LinuxUtils.h
Logging.cpp Bug 1306920 - Make sure log file is closed when clearing it at runtime r=nfroyd 2016-10-05 11:34:12 +02:00
Logging.h Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
LogModulePrefWatcher.cpp Bug 1239686 - Add method to set logging file at runtime r=nfroyd 2016-09-19 17:39:47 +02:00
LogModulePrefWatcher.h
MacHelpers.h
MacHelpers.mm
moz.build Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8 2016-09-14 15:47:32 +02:00
nsAgg.h Bug 1271848, part 1 - Add ClassName() method to the CC participant. r=smaug 2016-05-12 10:54:33 -07:00
nsAlgorithm.h
nsAllocator.h
nsAutoPtr.h Bug 1229985 - remove nsAutoArrayPtr; r=erahm 2015-12-06 10:51:43 -05:00
nsAutoRef.h
nsCom.h
nsConsoleMessage.cpp
nsConsoleMessage.h
nsConsoleService.cpp Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
nsConsoleService.h
nscore.h Bug 1293117 (part 1) - Add comment explaining how NS_IMETHOD, NS_IMETHODIMP and NS_METHOD should be used. r=froydnj. 2016-08-08 10:40:42 +10:00
nsCrashOnException.cpp
nsCrashOnException.h
nsCycleCollector.cpp Bug 1306382 - Automatically ExposeToActiveJS when reading out of a TenuredHeap<T> r=sfink r=mccr8 2016-10-07 13:58:37 +02:00
nsCycleCollector.h Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8 2016-09-14 15:47:32 +02:00
nsCycleCollectorTraceJSHelpers.cpp Bug 1306382 - Automatically ExposeToActiveJS when reading out of a TenuredHeap<T> r=sfink r=mccr8 2016-10-07 13:58:37 +02:00
nsDebugImpl.cpp Backed out changeset 8c9117de1e7f (bug 1300152) 2016-09-09 16:53:45 +02:00
nsDebugImpl.h
nsDumpUtils.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
nsDumpUtils.h Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
nsError.h Bug 1291997 - add media related dom exceptions; r=bz 2016-08-04 11:46:45 +08:00
nsErrorService.cpp
nsErrorService.h
nsGZFileWriter.cpp Bug 1296164 (part 2) - Use [must_use] on nsIFile.open{NSPR,ANSI}FileDesc(). r=froydnj. 2016-08-18 15:27:16 +10:00
nsGZFileWriter.h Bug 1295825 (part 3) - Use [must_use] and MOZ_MUST_USE in nsIGZFileWriter.idl. r=froydnj. 2016-08-17 17:09:45 +10:00
nsIConsoleListener.idl
nsIConsoleMessage.idl
nsIConsoleService.idl
nsICycleCollectorListener.idl
nsIDebug2.idl Backed out changeset 8c9117de1e7f (bug 1300152) 2016-09-09 16:53:45 +02:00
nsIErrorService.idl
nsIException.idl Bug 1257919 part 10. Make the caller and formattedStack getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:35 -04:00
nsIGZFileWriter.idl Bug 1295825 (part 3) - Use [must_use] and MOZ_MUST_USE in nsIGZFileWriter.idl. r=froydnj. 2016-08-17 17:09:45 +10:00
nsIID.h
nsIInterfaceRequestor.idl
nsIMacUtils.idl
nsIMemory.idl Bug 1253142 - Remove the long-deprecated nsIMemory.isLowMemory function. r=froydnj. 2016-03-06 21:07:51 +11:00
nsIMemoryInfoDumper.idl
nsIMemoryReporter.idl Bug 1275464 - Part 1. Unregister from handling image memory reports when shutting down. r=njn 2016-09-19 13:29:59 -04:00
nsIMessageLoop.idl Bug 1268160: Assert that PostIdleTask is only used on the main thread. r=jld 2016-05-12 15:15:43 -07:00
nsIMutable.idl
nsInterfaceRequestorAgg.cpp Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-10 08:23:00 +01:00
nsInterfaceRequestorAgg.h
nsIProgrammingLanguage.idl
nsISecurityConsoleMessage.idl
nsISizeOf.h
nsIStatusReporter.idl
nsISupports.idl
nsISupportsBase.h
nsIUUIDGenerator.idl
nsIVersionComparator.idl
nsIWeakReference.idl
nsMacUtilsImpl.cpp
nsMacUtilsImpl.h
nsMemoryImpl.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
nsMemoryImpl.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
nsMemoryInfoDumper.cpp Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm. 2016-09-02 17:12:24 +10:00
nsMemoryInfoDumper.h
nsMemoryReporterManager.cpp Bug 1275464 - Part 1. Unregister from handling image memory reports when shutting down. r=njn 2016-09-19 13:29:59 -04:00
nsMemoryReporterManager.h Bug 1291970 (part 1) - Use MOZ_MUST_USE in nsMemoryReporterManager. r=erahm. 2016-08-04 12:14:14 +10:00
nsMessageLoop.cpp Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm. 2016-09-01 15:01:16 +10:00
nsMessageLoop.h
nsObjCExceptions.h Bug 1293541 - Clean up NS_OBJC_*_TRY_* macros. r=mstange. 2016-08-09 14:27:59 +10:00
NSPRLogModulesParser.cpp Bug 1244306 - Rotate mozlog files within a size limit. r=erahm 2016-07-29 06:51:00 -04:00
NSPRLogModulesParser.h Bug 1244306 - Rotate mozlog files within a size limit. r=erahm 2016-07-29 06:51:00 -04:00
nsQueryObject.h
nsrootidl.idl
nsSecurityConsoleMessage.cpp
nsSecurityConsoleMessage.h
nsSetDllDirectory.h
nsStatusReporterManager.cpp Bug 1305037 - simplify the getpid usage r=alchen 2016-09-23 15:02:23 +02:00
nsStatusReporterManager.h
nsSystemInfo.cpp Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
nsSystemInfo.h
nsTraceRefcnt.cpp Bug 1308652, part 2 - Only allow nsTraceRefcnt::DumpStatistics to be called once. r=froydnj 2016-10-10 11:55:15 -07:00
nsTraceRefcnt.h Bug 1281257 - part 2 - make WalkTheStackCached an internal implementation detail; r=erahm 2016-06-23 17:21:27 -04:00
nsUUIDGenerator.cpp
nsUUIDGenerator.h
nsVersionComparatorImpl.cpp
nsVersionComparatorImpl.h
nsWeakPtr.h
nsWindowsHelpers.h Bug 1242456 - Create RAIIs to manage HGLOBAL and printer HANDLE in ShowNativePrintDialog and CreateGlobalDevModeAndInit. r=jimm, r=bobowen 2016-04-05 13:24:28 +07:00
OwningNonNull.h Bug 1273661 part 2. Add a way to trace a RefPtr<T> or OwningNonNull<T> via a Rooted. r=terrence,smaug 2016-05-18 12:23:35 -04:00
StaticMutex.h
StaticPtr.h Bug 1287623, part 3 - Add more methods involving StaticRefPtr. r=froydnj 2016-07-21 09:54:17 -07:00
SystemMemoryReporter.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
SystemMemoryReporter.h