gecko-dev/xpcom/base
Nicholas Nethercote 5d3808c6e5 Bug 1373436 (part 4) - Use UniquePtr with profile_add_marker(). r=mstange.
Once the |aPayload| argument to profile_add_marker() became a UniquePtr the
default value of nullptr caused compilation difficulties that could only be
fixed by #including ProfilerMarkerPayload.h into lots of additional places
(because the UniquePtr<T> instantiation required the T to be fully defined). To
get around this I just split profile_add_marker() into two functions, one with
1 argument and one with 2 arguments.

The patch also removes the definition of PROFILER_MARKER_PAYLOAD in the case
where MOZ_GECKO_PROFILER isn't defined. A comment explains why.
2017-06-16 12:26:26 +10:00
..
AutoRestore.h
AvailableMemoryTracker.cpp
AvailableMemoryTracker.h
ClearOnShutdown.cpp
ClearOnShutdown.h
CodeAddressService.h
CountingAllocatorBase.h
CycleCollectedJSContext.cpp Bug 1373436 (part 4) - Use UniquePtr with profile_add_marker(). r=mstange. 2017-06-16 12:26:26 +10:00
CycleCollectedJSContext.h Bug 1359245 - Remove references to context from the cycle collector (r=mccr8) 2017-04-27 15:34:46 -07:00
CycleCollectedJSRuntime.cpp Bug 1373436 (part 4) - Use UniquePtr with profile_add_marker(). r=mstange. 2017-06-16 12:26:26 +10:00
CycleCollectedJSRuntime.h Bug 1364528 - Don't synchronously finalize native objects if an exception is pending. r=smaug 2017-05-12 11:16:16 -07:00
Debug.cpp
Debug.h
DebuggerOnGCRunnable.cpp
DebuggerOnGCRunnable.h Bug 1339289 - Give names to a lot of common runnables (r=ehsan) 2017-02-15 12:30:01 -08:00
DeferredFinalize.cpp Bug 1359245 - Remove references to context from the cycle collector (r=mccr8) 2017-04-27 15:34:46 -07:00
DeferredFinalize.h
EnumeratedArrayCycleCollection.h
ErrorList.py Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor. 2017-06-13 13:23:23 +03:00
ErrorNames.cpp Bug 1320179 - Part 1: Move nsresult value calculation into a python script, r=froydnj 2017-04-06 18:36:22 -04:00
ErrorNames.h
HoldDropJSObjects.cpp Bug 1359245 - Remove references to context from the cycle collector (r=mccr8) 2017-04-27 15:34:46 -07:00
HoldDropJSObjects.h
IntentionalCrash.h
JSObjectHolder.cpp
JSObjectHolder.h
LinuxUtils.cpp
LinuxUtils.h
LogModulePrefWatcher.cpp
LogModulePrefWatcher.h
Logging.cpp Bug 1334279 - mark vsprintf-likes with MOZ_FORMAT_PRINTF; r=froydnj 2017-05-04 12:10:19 -06:00
Logging.h Bug 1334279 - mark vsprintf-likes with MOZ_FORMAT_PRINTF; r=froydnj 2017-05-04 12:10:19 -06:00
MacHelpers.h
MacHelpers.mm
MemoryReportingProcess.h
NSPRLogModulesParser.cpp Bug 1339537 - Part 6: Pass std::function values tree by const reference instead of by value, r=ehsan 2017-04-27 12:44:57 -04:00
NSPRLogModulesParser.h Bug 1339537 - Part 6: Pass std::function values tree by const reference instead of by value, r=ehsan 2017-04-27 12:44:57 -04:00
OwningNonNull.h
StaticMutex.h
StaticPtr.h
SystemMemoryReporter.cpp Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj 2016-12-14 09:32:21 -07:00
SystemMemoryReporter.h
moz.build Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8) 2017-04-18 17:01:04 -07:00
nsAgg.h Bug 1353544 - Replace usage of PR_BEGIN_MACRO in xpcom. r=froydnj 2017-04-05 18:06:44 -07:00
nsAlgorithm.h
nsAutoPtr.h
nsAutoRef.h
nsCOMPtr.cpp
nsCOMPtr.h Bug 1331434 - Part 2: Add MOZ_MAY_CALL_AFTER_MUST_RETURN and MOZ_MUST_RETURN_FROM_CALLER annotations, r=ehsan 2017-03-07 19:06:48 -05:00
nsCRTGlue.cpp Bug 1346132 (part 2) - Remove set_stderr_callback(). r=mstange. 2017-03-16 08:17:56 +11:00
nsCRTGlue.h
nsClassInfoImpl.cpp
nsCom.h
nsConsoleMessage.cpp
nsConsoleMessage.h
nsConsoleService.cpp Bug 1323076 - Part 4: ConsoleService with flag checking for TaskTracer. r=erahm 2017-03-22 21:49:00 +01:00
nsConsoleService.h
nsCrashOnException.cpp
nsCrashOnException.h
nsCycleCollectionNoteChild.h
nsCycleCollectionNoteRootCallback.h
nsCycleCollectionParticipant.cpp
nsCycleCollectionParticipant.h Bug 1368932 - Allow MOZ_PASTE_PREFIX_AND_ARG_COUNT to work with 0 arguments. r=froydnj 2017-05-25 15:47:21 +09:00
nsCycleCollectionTraversalCallback.h
nsCycleCollector.cpp Bug 1365102 - Convert NS_GetCurrentThread uses in xpcom/ (r=froydnj) 2017-06-12 20:21:43 -07:00
nsCycleCollector.h Bug 1359245 - Initial support for cooperative contexts (r=mccr8) 2017-04-27 15:34:46 -07:00
nsCycleCollectorTraceJSHelpers.cpp
nsDebug.h Bug 1334279 - mark vsprintf-likes with MOZ_FORMAT_PRINTF; r=froydnj 2017-05-04 12:10:19 -06:00
nsDebugImpl.cpp Bug 1360321 - 6. Add AArch64 support in xpcom; r=froydnj 2017-05-17 13:06:23 -04:00
nsDebugImpl.h
nsDumpUtils.cpp
nsDumpUtils.h
nsError.h Bug 1320179 - Part 1: Move nsresult value calculation into a python script, r=froydnj 2017-04-06 18:36:22 -04:00
nsErrorService.cpp
nsErrorService.h
nsGZFileWriter.cpp
nsGZFileWriter.h
nsIClassInfoImpl.h Bug 1369622 - Restore static asserts for lack of arguments on some macros. r=froydnj 2017-06-02 15:07:58 +09:00
nsIConsoleListener.idl
nsIConsoleMessage.idl
nsIConsoleService.idl
nsICycleCollectorListener.idl
nsID.cpp
nsID.h
nsIDebug2.idl bug 1300152 - Add nsIDebug2::rustPanic to allow triggering Rust panic for testing. r=froydnj 2017-03-31 12:08:57 -04:00
nsIErrorService.idl
nsIException.idl
nsIGZFileWriter.idl
nsIID.h
nsIInterfaceRequestor.idl
nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.h
nsIMacUtils.idl
nsIMemory.idl
nsIMemoryInfoDumper.idl
nsIMemoryReporter.idl
nsIMessageLoop.idl
nsIMutable.idl
nsINIParser.cpp
nsINIParser.h
nsIProgrammingLanguage.idl
nsISecurityConsoleMessage.idl
nsISizeOf.h
nsIStatusReporter.idl
nsISupports.idl
nsISupportsBase.h
nsISupportsImpl.cpp Bug 1371080 - Use GetCurrentVirtualThread for XPCOM thread safety checks (r=froydnj) 2017-06-13 14:51:11 -07:00
nsISupportsImpl.h Bug 1371080 - Use GetCurrentVirtualThread for XPCOM thread safety checks (r=froydnj) 2017-06-13 14:51:11 -07:00
nsISupportsUtils.h
nsIUUIDGenerator.idl
nsIVersionComparator.idl
nsIWeakReference.idl
nsIWeakReferenceUtils.h
nsInterfaceRequestorAgg.cpp Bug 1365102 - Convert NS_GetCurrentThread uses in xpcom/ (r=froydnj) 2017-06-12 20:21:43 -07:00
nsInterfaceRequestorAgg.h
nsMacUtilsImpl.cpp
nsMacUtilsImpl.h
nsMemory.cpp
nsMemory.h Bug 1353544 - Replace usage of PR_BEGIN_MACRO in xpcom. r=froydnj 2017-04-05 18:06:44 -07:00
nsMemoryImpl.cpp Bug 1360321 - 6. Add AArch64 support in xpcom; r=froydnj 2017-05-17 13:06:23 -04:00
nsMemoryImpl.h
nsMemoryInfoDumper.cpp
nsMemoryInfoDumper.h
nsMemoryReporterManager.cpp Bug 1363992 - Remove support for making jemalloc4 the default. r=njn 2017-05-11 13:16:00 +09:00
nsMemoryReporterManager.h Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8) 2017-04-18 17:01:04 -07:00
nsMessageLoop.cpp
nsMessageLoop.h
nsObjCExceptions.h
nsQueryObject.h
nsSecurityConsoleMessage.cpp
nsSecurityConsoleMessage.h
nsSetDllDirectory.h
nsStatusReporterManager.cpp Bug 1359841 - xpcom/base/nsStatusReporterManager.cpp should cast getpid() return value to int. r=alchen 2017-04-26 08:05:20 -07:00
nsStatusReporterManager.h
nsSystemInfo.cpp Bug 1353593 - Part 2: Remove wwc functions. r=froydnj 2017-06-12 16:20:49 -07:00
nsSystemInfo.h
nsTWeakRef.h
nsTraceRefcnt.cpp Bug 1353544 - Replace usage of PR_BEGIN_MACRO in xpcom. r=froydnj 2017-04-05 18:06:44 -07:00
nsTraceRefcnt.h
nsUUIDGenerator.cpp
nsUUIDGenerator.h
nsVersionComparator.cpp
nsVersionComparator.h
nsVersionComparatorImpl.cpp
nsVersionComparatorImpl.h
nsWeakPtr.h
nsWeakReference.cpp Bug 1359415 - move threadsafety checks inside nsAutoOwningThread; r=erahm 2017-04-26 11:41:32 -04:00
nsWeakReference.h
nsWindowsHelpers.h
nscore.h Bug 1330235 - Remove NS_STDCALL_FUNCPROTO and replace its usage with decltype. r=froydnj 2017-05-09 23:00:37 +10:00
nsrootidl.idl