gecko-dev/xpcom/base
Jon Coppeard 6dcaa59099 Bug 1846835 - Part 1: Allow the same nursery collection callback to be registered more than once r=sfink
This adds the data parameter to the remove API and only removes when both
callback and data argument match, allowing the same callback to be registered
more than once with different data pointers. This also asserts that the
callback is found when removal is requestd.

Differential Revision: https://phabricator.services.mozilla.com/D185306
2023-08-07 08:46:59 +00:00
..
AppShutdown.cpp Bug 1825917 - Have a ShutdownReason annotation and identify OS shutdown on Windows. r=xpcom-reviewers,gstoll,nika 2023-04-17 14:03:48 +00:00
AppShutdown.h Bug 1825917 - Have a ShutdownReason annotation and identify OS shutdown on Windows. r=xpcom-reviewers,gstoll,nika 2023-04-17 14:03:48 +00:00
AutoRestore.h
AvailableMemoryTracker.cpp Bug 1844908 - Remove pre-Win10-specific codepath from xpcom/. r=emilio 2023-07-26 08:52:54 +00:00
AvailableMemoryTracker.h
AvailableMemoryWatcher.cpp Bug 1834930 - Properly build the available memory watcher on iOS. r=xpcom-reviewers,nika 2023-05-25 05:37:38 +00:00
AvailableMemoryWatcher.h Bug 1834930 - Properly build the available memory watcher on iOS. r=xpcom-reviewers,nika 2023-05-25 05:37:38 +00:00
AvailableMemoryWatcherLinux.cpp Bug 1828010 - Add an nsINamed implementation on more nsITimer callbacks, r=Gijs. 2023-04-14 10:57:10 +00:00
AvailableMemoryWatcherMac.cpp Bug 1730066 - Enable tab unloading on macOS r=spohl 2021-10-21 04:43:35 +00:00
AvailableMemoryWatcherUtils.h Bug 1532955 - Track available memory on linux. r=gsvelto,tkikuchi 2021-12-02 11:14:30 +00:00
AvailableMemoryWatcherWin.cpp Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
ClearOnShutdown.cpp Bug 1768581 - Part 8: Exclude AppShutdownConfirmed from any Ns_ProcessPendingEvents. r=xpcom-reviewers,nika 2022-12-12 15:21:29 +00:00
ClearOnShutdown.h Bug 1768581 - Part 8: Exclude AppShutdownConfirmed from any Ns_ProcessPendingEvents. r=xpcom-reviewers,nika 2022-12-12 15:21:29 +00:00
CodeAddressService.h
CountingAllocatorBase.h Bug 1776463 - Use C++17 inline variable for CountingAllocatorBase::sAmount. r=xpcom-reviewers,nika 2022-10-17 21:54:12 +00:00
CycleCollectedJSContext.cpp Bug 1813556 - Expose finalization registry callback objects to active JS r=sfink 2023-02-01 09:07:23 +00:00
CycleCollectedJSContext.h Bug 1802395, remove an unneeded member variable, r=edgar 2022-11-29 20:00:13 +00:00
CycleCollectedJSRuntime.cpp Bug 1846835 - Part 1: Allow the same nursery collection callback to be registered more than once r=sfink 2023-08-07 08:46:59 +00:00
CycleCollectedJSRuntime.h Bug 1713022 - Part 1: Allow more than one nursery collection callback r=sfink 2023-07-19 18:31:39 +00:00
Debug.cpp
Debug.h
DebuggerOnGCRunnable.cpp
DebuggerOnGCRunnable.h
DeferredFinalize.cpp
DeferredFinalize.h Bug 1733308 - Fix non-unified builds errors in xpcom/base. r=xpcom-reviewers,mccr8 2021-10-01 01:49:16 +00:00
EnumeratedArrayCycleCollection.h
ErrorList.py Backed out changeset cb9938ab6bca (bug 1453318) for causing cookies related failures. CLOSED TREE 2023-08-07 10:13:50 +03:00
ErrorNames.cpp Bug 1740543 - Expose xpcom's GetErrorName() to JS. r=xpcom-reviewers,nika 2021-12-09 14:00:39 +00:00
ErrorNames.h
GkRustUtils.cpp Bug 1724152: Replace GkRustUtils::GenerateUUID with nsID::GenerateUUID. r=ckerschb 2021-11-04 08:55:46 +00:00
GkRustUtils.h Bug 1724152: Replace GkRustUtils::GenerateUUID with nsID::GenerateUUID. r=ckerschb 2021-11-04 08:55:46 +00:00
HoldDropJSObjects.cpp
HoldDropJSObjects.h Bug 1712725 - Disallow using HoldJSObjects/DropJSObjects for non-nsISupports classes that don't have a CC participant. r=mccr8 2021-05-27 08:35:41 +00:00
IntentionalCrash.h Bug 1779721 - Make sure utility process tests notifies test harness of SIGKILL r=mccr8 2023-03-24 16:37:25 +00:00
JSONStringWriteFuncs.h Bug 1784812 - Make all JSONWriteFunc-derived classes and their overriden methods final - r=canaltinova 2022-08-17 07:07:54 +00:00
JSObjectHolder.cpp
JSObjectHolder.h
LogCommandLineHandler.cpp
LogCommandLineHandler.h
LogModulePrefWatcher.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
LogModulePrefWatcher.h
Logging.cpp Bug 1836890 - Remove uses of chromium's OS_* macros in Gecko code. r=nika,media-playback-reviewers,keeler,gfx-reviewers,emilio,necko-reviewers,kershaw,karlt,jrmuizel 2023-06-06 20:00:47 +00:00
Logging.h Bug 1705019 - Always record LogMessage profiler markers for enabled log messages when the profiler is enabled and add a new 'profilerstacks' keyword to enable capturing stacks in these markers, r=mstange. 2022-09-13 13:26:24 +00:00
MacHelpers.h
MacHelpers.mm Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
MacStringHelpers.h Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
MacStringHelpers.mm Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
MemoryInfo.cpp Bug 1701368 - Part1: Extract nsAvailableMemoryWatcher as AvailableMemoryWatcherWin.cpp. r=gsvelto 2021-07-06 22:30:57 +00:00
MemoryInfo.h
MemoryMapping.cpp
MemoryMapping.h Bug 1701368 - Part1: Extract nsAvailableMemoryWatcher as AvailableMemoryWatcherWin.cpp. r=gsvelto 2021-07-06 22:30:57 +00:00
MemoryPressureLevelMac.h Bug 1791961 - xpcom: Fix C++20 -Wambiguous-reversed-operator warnings. r=emilio 2023-05-26 04:51:44 +00:00
MemoryReportingProcess.h
MemoryTelemetry.cpp Bug 1522052 - remove nsIDOMChromeWindow. r=dom-core,webdriver-reviewers,devtools-reviewers,whimboo,mccr8 2023-06-23 14:21:05 +00:00
MemoryTelemetry.h Bug 1794536 - Delete MemoryTelemetry::GetUniqueSetSize() and its decleration. r=pbone 2022-11-20 22:04:22 +00:00
NSPRLogModulesParser.cpp
NSPRLogModulesParser.h
OwningNonNull.h Bug 1766768 - Fix move constructor of OwningNonNull(RefPtr<>&&) to actually move. r=mccr8 2022-04-29 11:32:07 +00:00
RLBoxSandboxPool.cpp Bug 1827704 - Migrate to the upstream wasm2c for RLBox sandboxing r=glandium 2023-04-21 01:31:35 +00:00
RLBoxSandboxPool.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
RLBoxUtils.h Bug 1747514 - Fix some pointer arithmetic issues in RLBox. r=shravanrn 2021-12-25 06:00:25 +00:00
ShutdownPhase.h Bug 1766572: Part 1 - Remove obsolete ShutdownPhase::XPCOMShutdownLoaders. r=xpcom-reviewers,nika 2022-05-13 15:47:52 +00:00
SizeOfState.h
StaticLocalPtr.h
StaticMonitor.h Bug 1797354 - Allow specifying capability type in thread-safety macros, r=jesup,media-playback-reviewers,alwu 2022-10-28 19:55:30 +00:00
StaticMutex.h Bug 1797354 - Allow specifying capability type in thread-safety macros, r=jesup,media-playback-reviewers,alwu 2022-10-28 19:55:30 +00:00
StaticPtr.h Bug 1831827 - Remove constructors with redundant asserts for StaticRefPtr and StaticAutoPtr r=emilio 2023-05-09 22:53:43 +00:00
components.conf Bug 1834278 - Get rid of nsIMessageLoop. r=emilio 2023-08-01 13:15:50 +00:00
moz.build Bug 1834278 - Get rid of nsIMessageLoop. r=emilio 2023-08-01 13:15:50 +00:00
nsAlgorithm.h
nsAutoRef.h
nsCOMPtr.cpp Bug 1835119 - Remove nsCOMPtr_base. r=xpcom-reviewers,kmag 2023-05-31 21:58:43 +00:00
nsCOMPtr.h Bug 1835119 - Remove nsCOMPtr_base. r=xpcom-reviewers,kmag 2023-05-31 21:58:43 +00:00
nsCRTGlue.cpp Bug 1764262 - Redirect MOZ_LOG output to Nyx when fuzzing. r=xpcom-reviewers,nika 2022-04-25 19:12:23 +00:00
nsCRTGlue.h Bug 1746052, further restrict the characters that are allowed in filenames, as save as doesn't allow these, r=mccr8 2022-05-06 10:00:54 +00:00
nsClassInfoImpl.cpp
nsCom.h
nsConsoleMessage.cpp Bug 1483662 - Add microSecondTimeStamp to nsConsoleMessage, nsScriptError and ConsoleEvent. r=edgar. 2022-09-02 04:58:28 +00:00
nsConsoleMessage.h Bug 1483662 - Add microSecondTimeStamp to nsConsoleMessage, nsScriptError and ConsoleEvent. r=edgar. 2022-09-02 04:58:28 +00:00
nsConsoleService.cpp Bug 1846277 - Untangle nsGlobalWindow*.h includes. r=dom-core,media-playback-reviewers,sessionstore-reviewers,padenot,farre 2023-08-02 20:41:49 +00:00
nsConsoleService.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
nsCrashOnException.cpp
nsCrashOnException.h
nsCycleCollectionNoteChild.h
nsCycleCollectionNoteRootCallback.h
nsCycleCollectionParticipant.cpp
nsCycleCollectionParticipant.h Bug 1805931, part 1 - Declare Root and Unroot inline to save on boilerplate. r=smaug 2022-12-15 19:45:00 +00:00
nsCycleCollectionTraversalCallback.h Bug 1543537, part 1 - Add a NoteWeakMapping method to traversal callback. r=kmag 2022-09-24 23:24:31 +00:00
nsCycleCollector.cpp Bug 1837178 - Don't warn for extra shutdown CCs unless we're already logging. r=smaug 2023-06-15 21:13:24 +00:00
nsCycleCollector.h Bug 1732161 - Track CCReason for all cycle collections (replacing ccType) r=smaug 2021-10-14 18:15:40 +00:00
nsCycleCollectorTraceJSHelpers.cpp Bug 1733308 - Fix non-unified builds errors in xpcom/base. r=xpcom-reviewers,mccr8 2021-10-01 01:49:16 +00:00
nsDebug.h Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
nsDebugImpl.cpp Bug 1774864 - Cleanup xpcom/ includes r=sylvestre 2022-06-24 07:13:59 +00:00
nsDebugImpl.h Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika 2022-05-17 20:24:19 +00:00
nsDumpUtils.cpp Backed out 3 changesets (bug 1658072) as they are related to previously backed out changeset CLOSED TREE 2022-08-11 02:01:04 +03:00
nsDumpUtils.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
nsError.h
nsGZFileWriter.cpp Bug 1792354, part 1 - DeCOM nsGZFileWriter. r=xpcom-reviewers,nika 2022-09-27 21:27:17 +00:00
nsGZFileWriter.h Bug 1792354, part 1 - DeCOM nsGZFileWriter. r=xpcom-reviewers,nika 2022-09-27 21:27:17 +00:00
nsIAvailableMemoryWatcherBase.idl Bug 1729911 - Define minInactiveDurationInMS not to unload fresh tabs. r=NeilDeakin 2021-10-20 23:22:57 +00:00
nsIClassInfoImpl.h
nsIConsoleListener.idl
nsIConsoleMessage.idl Bug 1483662 - Add microSecondTimeStamp to nsConsoleMessage, nsScriptError and ConsoleEvent. r=edgar. 2022-09-02 04:58:28 +00:00
nsIConsoleService.idl Bug 1810582 - [devtools] Implements nsIConsoleService.callFunctionAndLogException. r=peterv 2023-05-23 12:39:39 +00:00
nsICycleCollectorListener.idl
nsID.cpp Bug 1833293 - Optimize UUID stringification. r=nika 2023-05-16 18:27:16 +00:00
nsID.h Backed out changeset 7d4b830c1cf6 (bug 1811934) for causing wpt failures on pointerevent_pointerrawupdate_in_pointerlock.html CLOSED TREE 2023-01-31 21:44:59 +02:00
nsIDUtils.h Bug 1726648 - Add a helper to trim brackets from nsID r=mccr8,smaug 2021-08-23 10:54:11 +00:00
nsIDebug2.idl Bug 1792355 - Mark some xpcom/base interfaces builtinclass or not scriptable. r=xpcom-reviewers,nika 2022-09-27 15:34:13 +00:00
nsIException.idl
nsIInterfaceRequestor.idl Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich 2022-12-28 09:52:44 +00:00
nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.h
nsIMacPreferencesReader.idl Bug 1792355 - Mark some xpcom/base interfaces builtinclass or not scriptable. r=xpcom-reviewers,nika 2022-09-27 15:34:13 +00:00
nsIMemoryInfoDumper.idl
nsIMemoryReporter.idl
nsINIParser.cpp Bug 1787121: add support for formatting INI files to nsINIParser r=xpcom-reviewers,kmag 2022-09-28 13:17:41 +00:00
nsINIParser.h Bug 1787121: add support for formatting INI files to nsINIParser r=xpcom-reviewers,kmag 2022-09-28 13:17:41 +00:00
nsISecurityConsoleMessage.idl
nsISizeOf.h
nsISupports.idl Bug 1794811, part 2 - Use the automatically generated nsISupports.h. r=nika 2022-10-17 16:09:22 +00:00
nsISupportsImpl.cpp
nsISupportsImpl.h Bug 1843568 - Part 2: Validate that rust_sync interfaces have threadsafe refcounts in c++, r=xpcom-reviewers,barret 2023-07-20 17:39:03 +00:00
nsISupportsUtils.h Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
nsIUUIDGenerator.idl Bug 1792355 - Mark some xpcom/base interfaces builtinclass or not scriptable. r=xpcom-reviewers,nika 2022-09-27 15:34:13 +00:00
nsIVersionComparator.idl Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich 2022-12-28 09:52:44 +00:00
nsIWeakReference.idl Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
nsIWeakReferenceUtils.h
nsInterfaceRequestorAgg.cpp Bug 1809753 - Part 3: Replace all callers of GetCurrentEventTarget with GetCurrentSerialEventTarget, r=mccr8,necko-reviewers,valentin 2023-01-16 23:14:11 +00:00
nsInterfaceRequestorAgg.h
nsMacPreferencesReader.h
nsMacPreferencesReader.mm Bug 1784812 - Use common JSONWriteFuncs when writing to a string - r=canaltinova,media-playback-reviewers,alwu 2022-08-17 07:07:54 +00:00
nsMacUtilsImpl.cpp Bug 1822484 - Rename IsDevelopmentBuild. r=necko-reviewers,media-playback-reviewers,padenot,emilio 2023-03-21 21:54:27 +00:00
nsMacUtilsImpl.h Bug 1792567, part 2 - Turn nsMacUtilsImpl into a namespace. r=spohl 2022-10-14 14:34:30 +00:00
nsMaybeWeakPtr.h
nsMemory.h Bug 1792574, part 4 - deCOM nsIMemory. r=xpcom-reviewers,nika 2022-09-28 15:17:47 +00:00
nsMemoryImpl.cpp Bug 1792574, part 4 - deCOM nsIMemory. r=xpcom-reviewers,nika 2022-09-28 15:17:47 +00:00
nsMemoryInfoDumper.cpp Bug 1784812 - Make all JSONWriteFunc-derived classes and their overriden methods final - r=canaltinova 2022-08-17 07:07:54 +00:00
nsMemoryInfoDumper.h
nsMemoryReporterManager.cpp Bug 1831852 - Avoid extra call to jemalloc_stats in telemetry r=mccr8 2023-05-11 04:40:44 +00:00
nsMemoryReporterManager.h Bug 1831852 - Avoid extra call to jemalloc_stats in telemetry r=mccr8 2023-05-11 04:40:44 +00:00
nsObjCExceptions.h Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
nsObjCExceptions.mm
nsQueryObject.h
nsSecurityConsoleMessage.cpp
nsSecurityConsoleMessage.h
nsSystemInfo.cpp Bug 1813979 - Rewrite any-pointer media query logic and add to about:support r=handyman,mossop,flod 2023-07-24 19:04:51 +00:00
nsSystemInfo.h Bug 1797587 - Make nsSystemInfo return the CPU model name, r=mhowell,chutten. 2022-11-01 20:22:23 +00:00
nsTraceRefcnt.cpp Bug 1831006 - Add a way to enable refcount logging whenever. r=xpcom-reviewers,nika 2023-05-03 13:59:55 +00:00
nsTraceRefcnt.h Bug 1831006 - Add a way to enable refcount logging whenever. r=xpcom-reviewers,nika 2023-05-03 13:59:55 +00:00
nsUUIDGenerator.cpp Bug 1723674 - Move nsUUIDGenerator logic to new nsID::GenerateUUID() factory functions that use nsRandomGenerator. r=keeler 2021-10-14 03:28:49 +00:00
nsUUIDGenerator.h Bug 1723674 - Move nsUUIDGenerator logic to new nsID::GenerateUUID() factory functions that use nsRandomGenerator. r=keeler 2021-10-14 03:28:49 +00:00
nsVersionComparator.cpp
nsVersionComparator.h
nsVersionComparatorImpl.cpp
nsVersionComparatorImpl.h
nsWeakReference.cpp Bug 1790921 - Take advantage of infallible new in nsSupportsWeakReference::GetWeakReference(). r=xpcom-reviewers,nika 2022-09-15 15:18:58 +00:00
nsWeakReference.h
nsWindowsHelpers.h Bug 1843701 - Unconditionally use LOAD_LIBRARY_SEARCH_SYSTEM32. r=handyman 2023-07-17 18:13:51 +00:00
nscore.h Bug 1841178 - Remove xpcom-config.h. r=xpcom-reviewers,mccr8 2023-06-29 23:02:15 +00:00
nsrootidl.idl Bug 1794811, part 2 - Use the automatically generated nsISupports.h. r=nika 2022-10-17 16:09:22 +00:00