Commit Graph

837 Commits

Author SHA1 Message Date
Gabriele Svelto
3dbabca27a Bug 805855 - Free dirty pages in response to all memory-pressure messages. r=jlebar 2012-11-12 17:41:23 +01:00
Nathan Froyd
8d66057983 Bug 809931 - make Static{Auto,Ref}Ptr have trivial constructors and destructors; r=jlebar 2012-11-09 16:48:42 -05:00
Trevor Saunders
cfc261384c bug 808229 - remove unused NS_ENSURE_ macro and associated success error code r=surkov 2012-11-02 18:36:58 -04:00
Dave Hylands
4dc2dc2e6c Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky 2012-11-09 09:52:09 -08:00
Gabriele Svelto
bea65ae7da Bug 808756 - Introduce a memory-pressure event that is not forwarded by the main process to its children. r=jlebar 2012-11-08 02:07:57 +01:00
Dave Hylands
6019a8993f Bug 794599 - Add a preference to disable logging. r=bzbarsky 2012-11-06 22:34:33 -08:00
Dave Hylands
8896b0866f Bug 794599 - Backout 847cedab81ae due to debug orange 2012-11-07 01:03:52 -08:00
Dave Hylands
1b7759a62f Bug 794599 - Add a preference to disable logging. r=bzbarsky 2012-11-06 22:34:33 -08:00
Nicholas Nethercote
8bd3070a4a Bug 808467 - Rewrite the cycle collector's memory reporter. r=mccr8.
--HG--
extra : rebase_source : 9944d59772654a1df8db3227f1a8b18ae3dcfeda
2012-11-06 17:38:29 -08:00
Kartikaya Gupta
15da69499f Bug 808772 - Adjust Android low-memory platform threshold to 512 MiB. r=blassey 2012-11-06 10:05:18 -05:00
Neil Rashbrook
94fc0147cc Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan 2012-11-03 10:59:29 +00:00
Ryan VanderMeulen
f7e7922b7f Backout 06b998c1100d (bug 664695) due to mochitest-other orange. 2012-11-02 17:12:22 -04:00
Neil Rashbrook
e3101f4764 Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg 2012-11-02 20:07:50 +00:00
Justin Lebar
75dfddada3 Bug 807181 - Add a memory reporter for unique set size (USS), which we'll call "resident-unique". r=njn
Patch originally by Vivien Nicolas in bug 802110.
2012-10-31 21:03:30 -04:00
Justin Lebar
4dc299fc09 Bug 805207 - Follow-up: Add guard so KillClearOnShutdown doesn't crash if we haven't ClearOnShutdown'ed any objects. r=me, landed on a CLOSED TREE 2012-10-31 15:19:18 -04:00
Kartikaya Gupta
b70d7b6139 Bug 801818 - Add an API to check if the platform is a low-memory one. r=bsmedberg, blassey 2012-10-31 14:59:55 -04:00
Justin Lebar
75d1d2e144 Bug 805207 - Remove static destructor from ClearOnShutdown. r=bsmedberg
This prevents the assertion added in bug 803688 from firing when we do an unclean shutdown.
2012-10-31 13:30:35 -04:00
Kartikaya Gupta
f41bd071b2 Bug 806486 - Instead of setting/unsetting the umask which introduces potential race conditions, chmod the created files instead. r=glandium 2012-10-31 10:20:26 -04:00
Masayuki Nakano
e33e735f92 Bug 805357 part.2 Get rid of NS_SUCCESS_IME_NO_UPDATES since OnIMEFocusChange(false) is always called r=roc 2012-10-31 08:22:23 +09:00
Kartikaya Gupta
4f1989dd8e Bug 806473 - Expose MemoryInfoDumper methods via a nsIMemoryInfoDumper service. r=jlebar
--HG--
rename : xpcom/base/MemoryInfoDumper.h => xpcom/base/nsIMemoryInfoDumper.idl
rename : xpcom/base/MemoryInfoDumper.cpp => xpcom/base/nsMemoryInfoDumper.cpp
2012-10-29 20:41:14 -04:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Ehsan Akhgari
b2aa3c6059 Bug 806209 followup - fix a stupid mistake; irc-r=BenWa 2012-10-29 14:18:14 -04:00
Ehsan Akhgari
c2694e771c Bug 806209 - Prevent the Windows implementation of NS_StackWalk from accessing the stdio APIs in order to avoid deadlocks when profiling on Windows; r=BenWa
--HG--
extra : rebase_source : cb945d9d3cb162a1177029a6aa097af33f7c917b
2012-10-29 14:03:01 -04:00
Justin Lebar
16a5fd30f0 Bug 806239 - When we dump memory reports after minimizing memory usage, we shouldn't also dump the reports before minimizing. r=njn 2012-10-28 20:18:40 -04:00
Justin Lebar
73af9cbc6d Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones 2012-10-25 11:36:24 -04:00
Justin Lebar
ed7f6604e2 Bug 800166 - Fire a low-memory notification when a B2G process is backgrounded. r=gwagner,bent 2012-10-22 15:40:19 -04:00
Brian Smith
035e8b8432 Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan 2012-10-18 15:55:48 -04:00
Bill McCloskey
0a9fd297da Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8) 2012-10-17 18:22:46 -07:00
Mats Palmgren
e9377b5d63 Bug 802473 - Make NS_FAILED return 0 or 1 (false/true typed as bool for C++). Use branch prediction macros for NS_FAILED/NS_SUCCEEDED. r=ehsan,bsmedberg 2012-10-18 02:43:06 +02:00
Isaac Aggrey
6058184f25 Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan 2012-10-11 13:16:29 -05:00
Justin Lebar
5ac0f1447d Bug 801780 - Part 1: Escape quotes in memory reporter paths when dumping to JSON. r=njn 2012-10-17 10:44:31 -04:00
Nicholas Nethercote
c132daca99 Bug 802007 - Remove unneeded Mac-only memory reporters. r=jlebar. 2012-10-15 21:45:54 -07:00
Jacek Caban
f3feeb7c28 Bug 801589 - Avoid redefining ERROR in ErrorList.h when wingdi.h is also included r=ehsan 2012-10-16 11:01:58 +02:00
Justin Lebar
2171be5d4d Bug 800486 - Part 3: Minor fixups to MemoryInfoDumper.cpp. r=njn 2012-10-15 22:12:14 -04:00
Justin Lebar
2f597a1b5d Bug 800486 - Part 2: Move signal-watching and memory-report-dumping code out of nsMemoryReporterManager and into a new file, MemoryInfoDumper. r=njn 2012-10-15 22:12:14 -04:00
Justin Lebar
b1de9b46c6 Bug 800486 - Part 1: Dump a GC and CC log upon receiving SIGRTMIN + 2. r=mccr8,njn,cjones 2012-10-15 22:12:14 -04:00
Mark Hammond
158318bf31 Bug 796526 - stop spewing errors re SysGetModuleInfo64 in debug builds. r=dbaron 2012-10-16 11:26:35 +11:00
Nicholas Nethercote
b4b005ce55 Bug 800187 (part 2) - Add a clarifying comment about memory reporter registration. r=bz.
--HG--
extra : rebase_source : 950d0a0bb9a6ffdea94b41ae16f62a407acff6d8
2012-10-11 21:05:42 -07:00
Nicholas Nethercote
e37c1e657a Bug 800703 - Rename the existing, Valgrind-based DMD as "DMDV". r=khuey.
--HG--
rename : xpcom/base/dmd.h => tools/dmdv/dmdv.h
2012-10-08 15:31:17 -07:00
Alexander Surkov
5f743adb53 Bug 799909 - decomify Accessible::GetNameInternal, r=tbsaunde 2012-10-14 13:18:39 +09:00
Aryeh Gregor
d8217f6f81 Bug 779473 - Make nsresult an enum class; r=ehsan 2012-08-02 11:55:58 +03:00
Kartikaya Gupta
e71c7af87a Bug 799686 - Make about:memory dump file readable on Android. r=njn 2012-10-13 08:54:49 -04:00
Trevor Saunders
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Gian-Carlo Pascutto
3cdc718d84 Bug 799228 - Clean up shellVersion and shellName and their users. r=blassey 2012-10-10 17:10:39 +02:00
Gian-Carlo Pascutto
0620d31654 Bug 799228 - Send Android version as OS version for Telemetry. r=blassey 2012-10-10 17:10:39 +02:00
Ehsan Akhgari
95975a997f Bug 795238 follow-up - #include Attributes.h which defines MOZ_HAVE_CXX11_ENUM_TYPE 2012-10-09 09:39:32 -04:00
Ehsan Akhgari
da8a1ade99 Bug 795238 - Make nsresult a uint32_t enum everywhere that C++11 typed enums are supported; r=Aryeh 2012-10-09 09:23:52 -04:00
Landry Breuil
8512acf227 Bug 788021 followup: cast PR_NOW() to int64_t to fix a build failure on OpenBSD. r=jlebar 2012-10-06 11:03:52 +02:00
Justin Lebar
2e08b8974d Bug 797904 - Include app name in about:memory dump. r=njn,cjones 2012-10-05 17:54:54 -04:00
Nathan Froyd
9738536099 Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00