gecko/xpcom/base
Andrew McCreight c2ec9d9510 Bug 937751, part 4 - Incrementalize nsCycleCollector::Collect. r=smaug
This patch makes it so that Collect takes a time budget that describes
how much longer the collection can be run for. Then we run the current phase.
Once this is done, we check whether we have exceeded our time budget or
if we have finished a collection. If neither of those have happened, we
run the cycle collector some more.

If we're a manually triggered CC, and we were in the middle of an ICC when
the CC started, then once the current CC is complete, we start a new CC
immediately. This is needed to ensure that a manually specified listener
is used, and to ensure that any garbage objects the caller expects to be
collected are in fact collected.

Note that in this patch we are always passing in an unlimited budget to
Collect, so cycle collections will always be run to completion.
2013-12-03 10:47:47 -08:00
..
AvailableMemoryTracker.cpp Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other 2013-11-27 20:05:00 -05:00
AvailableMemoryTracker.h
ClearOnShutdown.cpp
ClearOnShutdown.h Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan 2013-10-10 16:41:00 -04:00
CycleCollectedJSRuntime.cpp Bug 911303 - Remove manual Destroy() routine from CycleCollectedJSRuntime. r=billm 2013-11-27 10:10:25 -08:00
CycleCollectedJSRuntime.h Bug 911303 - Remove manual Destroy() routine from CycleCollectedJSRuntime. r=billm 2013-11-27 10:10:25 -08:00
Debug.cpp Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz 2013-11-05 22:16:25 +08:00
Debug.h Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz 2013-11-05 22:16:25 +08:00
ErrorList.h Bug 944434 - Updates from Desktop launch Metro to perform the update. r=emtwo 2013-11-29 07:24:55 -05:00
Makefile.in Bug 870406 part n - Move more CSRCS to moz.build. r=mshal 2013-11-01 10:30:45 +09:00
moz.build Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps 2013-11-19 11:50:54 +09:00
nsAgg.h Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj 2013-11-19 16:27:36 -05:00
nsAllocator.h
nsAutoPtr.h Bug 909977 - Rename mozilla::Move to mozilla::OldMove, and make mozilla::Move a synonym for std::move(). r=waldo 2013-08-29 11:54:14 -07:00
nsAutoRef.h Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan 2013-10-10 16:41:00 -04:00
nsCom.h
nsConsoleMessage.cpp Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:29:31 -04:00
nsConsoleMessage.h Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg 2013-07-18 21:31:26 -05:00
nsConsoleService.cpp Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan 2013-10-10 16:41:00 -04:00
nsConsoleService.h Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:29:31 -04:00
nscore.h Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg 2013-10-31 19:39:03 -07:00
nsCrashOnException.cpp
nsCrashOnException.h
nsCycleCollector.cpp Bug 937751, part 4 - Incrementalize nsCycleCollector::Collect. r=smaug 2013-12-03 10:47:47 -08:00
nsCycleCollector.h Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug 2013-11-20 14:35:17 -08:00
nsDebugImpl.cpp Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj 2013-11-25 15:06:17 -05:00
nsDebugImpl.h Bug 942635 - Build dom/ipc in unified mode; r=bzbarsky 2013-11-26 11:39:19 -05:00
nsError.h Bug 916568 - Remove xpcom/base/nsErrorAsserts.cpp; r=ehsan 2013-09-17 14:05:12 +03:00
nsErrorAssertsC.c
nsErrorService.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsErrorService.h
nsGZFileWriter.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsGZFileWriter.h Bug 936912 - Build xpcom in unified mode; r=froydnj 2013-11-18 21:34:00 -05:00
nsIAllocator.h
nsIConsoleListener.idl Merge m-c to inbound. 2013-09-23 17:10:33 -04:00
nsIConsoleMessage.idl
nsIConsoleService.idl Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
nsICycleCollectorListener.idl Bug 937303 - Make CC logger to pass information about compartments, r=mccr8 2013-11-12 15:53:51 +02:00
nsIDebug2.idl
nsIDebug.idl
nsIErrorService.idl
nsIException.idl Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
nsIGZFileWriter.idl
nsIID.h
nsIInterfaceRequestor.idl
nsIMacUtils.idl
nsIMemory.idl
nsIMemoryInfoDumper.idl Bug 929797 - Implement proper memory reporting for child processes. r=khuey. 2013-10-22 22:26:24 -07:00
nsIMemoryReporter.idl Bug 943660 (attempt 2) - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8. 2013-11-26 18:38:50 -08:00
nsIMessageLoop.idl
nsIMutable.idl
nsInterfaceRequestorAgg.cpp Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:29:31 -04:00
nsInterfaceRequestorAgg.h Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:29:31 -04:00
nsIProgrammingLanguage.idl
nsISecurityConsoleMessage.idl Bug 846918: Adds internal httpchannel idl for communication between documents and channels. r=jlebar 2013-07-26 08:37:02 -07:00
nsISizeOf.h
nsISupports.idl
nsISupportsBase.h Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey 2013-08-22 08:31:21 +02:00
nsISupportsObsolete.h Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan 2013-10-10 16:41:00 -04:00
nsITraceRefcnt.idl
nsIUUIDGenerator.idl
nsIVersionComparator.idl
nsIVisualEventTracer.idl
nsIWeakReference.idl
nsMacUtilsImpl.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsMacUtilsImpl.h
nsMemoryImpl.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsMemoryImpl.h Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:29:31 -04:00
nsMemoryInfoDumper.cpp Bug 938407 - Null check FinishReportingCallback::mFinishDumping. r=froydnj 2013-12-02 13:11:43 -08:00
nsMemoryInfoDumper.h Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:29:31 -04:00
nsMemoryReporterManager.cpp Bug 945046 - Implement private and vsize-max-contiguous reporters on FreeBSD. r=njn, r=glandium 2013-12-02 12:51:27 -05:00
nsMemoryReporterManager.h Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other 2013-11-27 20:05:00 -05:00
nsMessageLoop.cpp Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
nsMessageLoop.h
nsObjCExceptions.h Bug 933124 - Fix -Wformat warning in nsObjcExceptions.h. r=dougt 2013-10-29 21:04:41 -07:00
nsrootidl.idl Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-04 00:56:26 +09:00
nsSecurityConsoleMessage.cpp Bug 846918: Adds internal httpchannel idl for communication between documents and channels. r=jlebar 2013-07-26 08:37:02 -07:00
nsSecurityConsoleMessage.h Bug 919825: Annotate class nsSecurityConsoleMessage as MOZ_FINAL to fix -Wdelete-non-virtual-dtor GCC build warning. rs=ehsan 2013-09-23 17:05:27 -07:00
nsSetDllDirectory.h Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan 2013-10-10 16:41:00 -04:00
nsStackWalk.cpp Bug 819839 - Part 1 - Allow NS_StackWalk to be called during static initialization on Windows. r=ehsan 2013-11-29 16:08:43 +01:00
nsStackWalk.h Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan 2013-10-10 16:41:00 -04:00
nsStackWalkPrivate.h
nsSystemInfo.cpp Bug 944529: Obtain HDD info for GRE path and Windows directory; r=froydnj 2013-12-02 10:41:44 -07:00
nsSystemInfo.h
nsTraceRefcntImpl.cpp Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa 2013-11-05 07:45:20 -05:00
nsTraceRefcntImpl.h
nsUUIDGenerator.cpp Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:29:31 -04:00
nsUUIDGenerator.h Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg 2013-07-18 21:31:26 -05:00
nsVersionComparatorImpl.cpp
nsVersionComparatorImpl.h
nsWeakPtr.h
nsWindowsHelpers.h Bug 927944 part B - move AutoCriticalSection to nsWindowsHelpers.h and use it instead of manual lock handling in nsWindowsDllBlocklist.cpp, r=ehsan 2013-10-18 14:24:51 -04:00
pure_api.c
pure.h
StackWalk.h
StaticMutex.h
StaticPtr.h
VisualEventTracer.cpp Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg 2013-09-19 14:29:31 -04:00
VisualEventTracer.h Bug 939576 - Build netwerk/protocol/http in unified mode. r=mcmanus 2013-11-16 21:19:51 -08:00
WindowsVersion.h Bug 942402 - Add version test functions for Thunderbird. r=jimm 2013-12-03 00:01:48 +09:00