Граф коммитов

1785 Коммитов

Автор SHA1 Сообщение Дата
Mark Finkle bc2e11a2c4 Bug 671634 - Fennec UA changes. Useragent should be different between phones and tablets. r=me sr=bz a=gerv
Please read http://groups.google.com/group/mozilla.dev.platform/msg/8133920a2ccf4d5b for the details.

Also see https://wiki.mozilla.org/Fennec/User_Agent for Gerv's accepted proposal.
2012-01-31 20:04:23 -08:00
Ginn Chen 4fd8973e50 Bug 717861 GetVsize and GetResident underestimate memory size on Solaris r=justin.lebar 2012-01-31 14:32:10 +08:00
Andrew McCreight 92c993fb12 Bug 721794 - add SPS labels for CC entry points. r=smaug 2012-01-31 13:47:47 -08:00
Andrew McCreight 6eea252eb2 Bug 721248 - make nsICycleCollectorListener a builtinclass. r=smaug 2012-01-31 13:47:47 -08:00
Andrew McCreight d7371468e7 Bug 721420 - WantAllTraces should disable Skippable CC optimizations. r=smaug 2012-01-29 16:45:08 -08:00
Justin Lebar 841722744a Bug 716523 - ClearOnShutdown() should assert if called after XPCOM shutdown. r=bsmedberg
--HG--
extra : rebase_source : 7b25ac2044f1ecf88ca44aa48447cbfe1fc807cd
2012-01-26 15:54:03 -05:00
Ehsan Akhgari 17c5a879b4 Bug 718032 - Make stackwalking for other threads cheaper on Windows by avoiding involving a third walker thread; r=jrmuizel 2012-01-26 11:57:23 -05:00
Nicholas Nethercote 7559a70a04 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Bill McCloskey dc52ba7996 Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8) 2012-01-25 10:59:55 -08:00
Nicholas Nethercote 0709e1673b Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Luke Wagner d85fb51b34 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8)
--HG--
extra : rebase_source : f6d2c2c6083f4589691ede571159bfd7e7ef8701
2011-07-18 14:54:48 -07:00
Matt Brubeck 193896461a Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures 2012-01-24 17:32:30 -08:00
Luke Wagner 6068502afa Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor) 2011-07-18 14:54:48 -07:00
Vladan Djeric 6bb3870456 Bug 716590 - WalkStackMain64 shouldn't skip frames unless it's walking the thread that called NS_StackWalk. r=dbaron 2012-01-23 17:21:23 -05:00
Nicholas Nethercote bfdbdcd83a Bug 715453 (part 2) - Ignore computedSize in nsMallocSizeOfFun. r=jlebar. 2012-01-17 20:23:55 -08:00
Olli Pettay 708edb326d Bug 718634 - Move CanSkip* to nsCycleCollectionParticipant, r=mccr8
--HG--
extra : rebase_source : 7eb8cadf14e2d38d689e74a354d6edee6f7f9d20
2012-01-17 18:32:19 +02:00
Olli Pettay a10e38916c Bug 716518 - Add skip* phases to cycle collector, r=mccr8
--HG--
extra : rebase_source : c53a42bbbc430384df37d0aeb0d882c09665f672
2012-01-14 18:58:05 +02:00
Ed Morley f906a27420 Merge mozilla-central to mozilla-inbound 2012-01-11 17:28:35 +00:00
Benjamin Smedberg fce89eafbe Bug 675221 addendum to part A - reimplement the recursion check for the console service so that a poorly-written console listener doesn't cause an infinite repeition, r=bent 2012-01-11 11:28:21 -05:00
Benjamin Smedberg 51e3a00405 Bug 675221 part A: replace XPCOM proxies with runanble for code in XPCOM itself, r=bz 2012-01-11 11:28:21 -05:00
Justin Lebar e09d80aa5c Bug 717092 - Rename pref 'low_physical_mem_threshold_mb' to 'low_physical_memory_threshold_mb', for consistency with the other low-memory prefs. r=njn 2012-01-11 11:11:32 -05:00
Nicholas Nethercote f54b204948 Bug 700508 - Disallow non-leaf memory reporters (attempt 3). r=jlebar. 2012-01-07 21:45:35 +11:00
Nicholas Nethercote 530f96e164 Bug 715453 (part 1) - Remove NS_MEMORY_REPORTER_CHECK_SIZES. rs=edmorley.
--HG--
extra : rebase_source : 79361dc475812d7f804ceaab4e3313127f96b677
2012-01-07 13:01:18 +11:00
Ed Morley b9d68ddfdd Backout 4779d8df054b (bug 700508) for linux64 Moth orange 2012-01-06 16:23:05 +00:00
Nicholas Nethercote 56807bf845 Bug 700508 - Disallow non-leaf memory reporters (attempt 2). r=jlebar.
--HG--
extra : rebase_source : 040e3e7093f019caf7157a316e5fc75654eb5d65
2012-01-05 19:41:31 -08:00
Marco Bonardo f0cc4be99b Merge mozilla-central and mozilla-inbound 2012-01-05 11:31:12 +01:00
Makoto Kato 5c0c388ba9 Bug 715045 - Remove old vc support code. r=jimm 2012-01-05 16:52:22 +09:00
Brian R. Bondy 367ce94fcc Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00
Ehsan Akhgari bdde79044d Bug 714286 followup - Fix the temp path detection code for Windows; r=mccr8 2012-01-03 22:53:30 -05:00
Matthew Gregan 46a5d0d091 Bug 710491 - Remove NS_SPECIALIZE_TEMPLATE from nsAutoRef's documentation. r=khuey DONTBUILD 2011-12-14 14:57:39 +13:00
Phil Ringnalda 6b2c365532 Merge mozilla-inbound with mozilla-central 2012-01-01 20:53:49 -08:00
Olli Pettay f4637a54ab Bug 713778 - nsICycleCollectorListener should not enable trace_all by default, r=mccr8 2012-01-01 23:48:42 +02:00
Ehsan Akhgari 33bd17221a Bug 714286 - Cycle collection log should be written to a place where the process can write to, and the name of the file should be printed to the error console; r=mccr8 2012-01-01 17:34:00 -05:00
Nicholas Nethercote 01617bd3af Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent. 2011-12-12 19:04:12 -08:00
Ehsan Akhgari a6373ebfc3 Bug 713278 - Teach NS_StackWalk to walk the stack of other threads too on Windows; r=dbaron 2011-12-23 18:14:09 -05:00
Nicholas Nethercote 57e4fd55b0 Bug 712835 (part 2 of 3) - Add a memory reporter for the nsAtomTable. r=khuey.
--HG--
extra : rebase_source : 3c934649d072e0d519c905cb8baf49b12bce0312
2011-12-22 17:24:43 -08:00
Justin Lebar 3ce4d7aa36 Bug 712997 - Add correct tri-license headers to AvailableMemoryTracker.{cpp|h}. r=gerv
--HG--
extra : rebase_source : 085859bd52094cb93f0144a8c2e86b34a9eaffe2
2011-12-22 09:54:00 -05:00
Rafael Ávila de Espíndola 347c7c6e99 Bug 708031 - refactor the ifdefs in nsStackWalk.cpp. r=dbaron.
--HG--
extra : rebase_source : 806f8437d30787c59e0059054c094fee77b5dce3
2011-12-22 11:00:48 -05:00
Jeff Walden 62f48d8793 Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Makoto Kato d8de16e6ab bug 693280 - Android DNS lookup port is incorrect usage for external function defines. r=glandium 2011-12-22 10:13:31 +09:00
Makoto Kato 6134979a79 Bug 712198 - Remove NS_WIN32, NS_UNIX and NS_OS2. r=khuey 2011-12-21 14:09:17 +09:00
Jeff Walden 55d623be48 Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
--HG--
extra : rebase_source : e87978380d0821746e7df78dfacc7e381aefccb3
2011-12-17 22:47:45 -05:00
Justin Lebar 87082c4df4 Bug 711602 - Fix "ASSERTION: bad size recorded" with CloseOnShutdown. r=bsmedberg 2011-12-19 15:49:04 -05:00
Matt Brubeck 347ae519fe Back out bcf9ce858829 and a3bade82ac92 (bug 711799) for build failures 2011-12-19 10:43:08 -08:00
Jeff Walden d6fa425c6b Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
--HG--
extra : rebase_source : 8ca811fe7427626e39f677a672986a27829b0feb
2011-12-17 22:47:45 -05:00
Justin Lebar fb015e9846 Bug 711490 - Add telemetry and memory reporters for counting low-memory events. r=njn 2011-12-19 11:57:57 -05:00
Andrew McCreight 5b510f1127 Bug 706164 - Add telemetry for CC forcing GC. r=bent 2011-12-05 09:04:41 -08:00
Nathan Froyd 0071f7a006 Bug 709205 - use GetObserverService in xpcom; r=dougt 2011-12-09 14:36:17 -05:00
Justin Lebar 8e06b410dd Bug 670967 - Part 2: Wrap VirtualAlloc and friends, firing a low-memory notification if we notice that we're running low on virtual or physical memory after the wrapped function completes. r=bsmedberg
--HG--
extra : rebase_source : 95e8f6c1bd89991ff04b031795fb2b2c2d750849
2011-12-15 14:48:38 -05:00
Justin Lebar 36337622b8 Bug 706958 - Add ClearOnShutdown() function which will clear a smart pointer on shutdown. r=bsmedberg 2011-12-15 10:51:11 -05:00
Justin Lebar eed22c8933 Back out bug 670967 due to Android red. 2011-12-15 09:42:21 -05:00
Justin Lebar b44a6104a0 Bug 670967 - Part 2: Wrap VirtualAlloc and friends, firing a low-memory notification if we notice that we're running low on virtual or physical memory after the wrapped function completes. r=bsmedberg 2011-12-15 09:09:53 -05:00
Matt Brubeck 43fd2dc37f Bug 708772 - (2/3) Add tablet flag to jar manifest parser and nsSystemInfo [r=bsmedberg] 2011-12-14 13:53:38 -08:00
Ehsan Akhgari 8165dcad8a Bug 710473 - Backout the nsDerivedSafe part from bug 666414 to make PGO builds on Windows work again; r=roc (cause he volunteered) a=xul-diet 2011-12-13 20:03:24 -05:00
Andrew Quartey 6fe0fd072a Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Javi Rueda 603e427733 Bug 379342 - Remove Win95/Win98 support code in XPCom; r=bsmedberg a=removal 2011-12-13 14:17:58 +00:00
Nicholas Nethercote 6bbcf3b4f8 Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
Nicholas Nethercote 6adcf21f7f Bug 703143 - backout 61d41436beb3 so that bug 700508 can be backed out. r=crashes. 2011-12-08 11:34:18 -08:00
Jeff Walden 84471e527a Bug 707352 - Remove NS_FINAL_CLASS completely. r=cjones 2011-12-05 17:10:05 -05:00
Nicholas Nethercote e2df423d2d Bug 700508 - Disallow non-leaf memory reporters. r=jlebar. 2011-12-06 16:20:17 -08:00
Rafael Ávila de Espíndola aa9149f744 Bug 707648 - Only try to init the critical range if we are able to walk the stack. r=ehsan. 2011-12-06 14:26:49 -05:00
Steve Workman 50e8ffcb33 Bug 694325: Add files for DNS Multithreading on Android; avoid undefined, unexposed libc symbols r=mwu 2011-12-05 10:41:11 -08:00
Rafael Ávila de Espíndola 001dce7e90 Bug 696376 - Change how we find critical ranges so that it works on 10.6 too. r=dbaron.
Currently we use dlsym on pthread_cond_wait$UNIX2003 to find a
function that indicates that new_sem_from_pool is on the stack. This
works on 10.5, but on 10.6 I could not find a single reliable
indicator that would work with dlsym.

The good news is that dladdr works with any symbol, not just exported
ones. To find the address of new_sem_from_pool, we set up a malloc logger
and force a call to new_sem_from_pool. From the logger callback we walk
the stack trying dladdr on every address.

To force a call to new_sem_from_pool, the initialization code has to be the
first to use semaphores, so it is now run from NS_LogInit.

This works on 10.6 and 10.5 (but we have to look for
"pthread_cond_wait$UNIX2003"). In 10.7 the call to malloc is gone, so we don't
have to worry about critical addresses on it anymore.

--HG--
extra : rebase_source : bba4ac9e3378c88f7037aa884511e473a57121f6
2011-12-02 19:26:04 -05:00
Chris Lord b6c8db3dc8 Backout bug 696376
This broke building on android due to requiring a newer version of unwind.h.
2011-12-02 18:00:58 +00:00
Rafael Ávila de Espíndola 083918d344 Bug 696376 - Change how we find critical ranges so that it works on 10.6 too. r=dbaron.
Currently we use dlsym on pthread_cond_wait$UNIX2003 to find a
function that indicates that new_sem_from_pool is on the stack. This
works on 10.5, but on 10.6 I could not find a single reliable
indicator that would work with dlsym.

The good news is that dladdr works with any symbol, not just exported
ones. To find the address of new_sem_from_pool, we set up a malloc logger
and force a call to new_sem_from_pool. From the logger callback we walk
the stack trying dladdr on every address.

To for a call to new_sem_from_pool, the initialization code has to be the
first to use semaphores, so it is now run from NS_LogInit.

This works on 10.6 and 10.5 (but we have to look for
"pthread_cond_wait$UNIX2003"). In 10.7 the call to malloc is gone, so we don't
have to worry about critical addresses on it anymore.
2011-12-01 18:22:00 -05:00
Terrence Cole b08432d55e Bug 699279 - Run GC_SHRINK collection cycle when under memory pressure; r=mrbkap
GC_SHRINK is a fairly new type of GC that does more aggressive cleanups than a
normal GC.  This patch makes the browser run the GC in this mode when under
memory pressure, or when the user pushes the Minimize Memory Usage button when
on the about:memory page.

--HG--
extra : rebase_source : abdd11ee5fa5eb0e3d58122d3d72e98328d47668
2011-11-09 18:14:11 -08:00
Nicholas Nethercote 6c6258e659 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Andrew McCreight 0bdc164384 Bug 668855, part 5: scan weak maps. r=gal 2011-11-24 07:35:57 -05:00
Andrew McCreight fa0cc49dda Bug 668855, part 4: store weak map info in CC data structure. r=gal 2011-11-24 07:35:56 -05:00
Andrew McCreight 5b34144669 Bug 668855, part 2: add nsCycleCollectionTraversalCallback hook for weak mappings. r=peterv 2011-11-24 07:35:56 -05:00
Ed Morley c965e7cae0 Merge mozilla-central and mozilla-inbound 2011-11-23 12:12:23 +00:00
Doug Turner ba42ee3f6e Bug 694325 - Backout of bfb56029f4bd due to crashes on android tablets. r=sworkman 2011-11-22 14:58:25 -08:00
Steve Workman e80c212d1f Bug 694325: Add threadsafe getaddrinfo to libmozutils; restore multi-threading to nsHostResolver for DNS requests. r=mwu 2011-11-21 18:21:21 -08:00
Jeff Walden df2b7cbc5c Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Ginn Chen 92194e1048 Bug 702529 Add GetVsize and GetResident methods on Solaris r=khuey 2011-11-21 11:09:52 +08:00
Lucas Molas 0ea3999a91 Bug 680556 - Make NS_(Re)Alloc infallible. r=bsmedberg 2011-11-09 11:42:00 -05:00
Ed Morley 9f6a8ca44b Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-18 08:43:10 +00:00
Mark Finkle 68d0f5ecea Bug 703370 - Cleanup the console service logcat tag (sync with birch) [r=dougt] 2011-11-17 23:07:06 -05:00
Ed Morley f7978969c2 Merge mozilla-central to mozilla-inbound 2011-11-15 19:19:24 +00:00
Doug Turner cc665b3b37 Bug 702029 - Push all console logging to androids adb logcat. r=blassey 2011-11-14 19:12:20 -08:00
Hugh Nougher 17a341d772 Bug 702483 - Rename heap-committed-unallocated-fraction to heap-committed-fragmentation 2011-11-14 21:17:00 -05:00
Olli Pettay 2a671d4eaf Bug 702240 - [CC] Optimize sizeof nsPurpleBuffer::Block, r=mccr8 2011-11-14 18:10:06 +02:00
Marco Bonardo 8f5a2ceab1 Merge mozilla-central and mozilla-inbound 2011-11-11 11:09:58 +01:00
Ed Morley 4163fb7744 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Ed Morley 0e555c3378 Backout 31d345404c98 (bug 671634) due to missing privacy review and necko peer review; a=dao 2011-11-08 10:43:36 +00:00
Michael Wu 5dd6a67845 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Gregory Szorc 1a1f7b30ae Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Andrew McCreight 2e0d3c99a5 Bug 694436 - begin CC listener before BeginCollection. r=bent 2011-10-13 17:37:18 -07:00
Wes Johnston 4dd5d6ba50 Bug 671634 - Update Fennec useragent to more closely match stock browser. r=dougt 2011-11-07 15:03:53 -08:00
Jonathan Watt 66f54fe5a4 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Mark Banner 18642c515f Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Justin Lebar 5ee159cafc Bug 693404 - Part 2: On Mac, purge MADV_FREE'd pages before reading RSS. r=khuey 2011-10-24 13:24:02 -04:00
Justin Lebar 58f66fccdb Back out bug 693404 (2f7668cd67bc, 3db099ca452a) due to red. 2011-10-24 14:02:16 -04:00
Justin Lebar d20624a86c Bug 693404 - Part 2: On Mac, purge MADV_FREE'd pages before reading RSS. r=khuey
--HG--
extra : rebase_source : c0f1f82aba30d32166e17d7d4216017475c9c09a
2011-10-24 13:24:02 -04:00
Luke Wagner d542a26a63 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : f18561fff556332789e05623ab0cec2e7faacf78
2011-07-01 14:11:31 -07:00
Justin Lebar f8f92ce92b Bug 695691 - Fix fscanf warning about %lu attached to size_t in nsMemoryReporterManager.cpp. r=njn 2011-10-20 11:57:54 -04:00
Ehsan Akhgari 92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Justin Lebar c7fcd225c6 Bug 693976 - Don't parse /proc/self/maps once for every entry in /proc/self/smaps. r=khuey 2011-10-14 15:05:52 -04:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden c6a047f193 Really fix the redness from bug 693469. r=red 2011-10-12 12:02:08 -07:00
Jeff Walden 4b3f2af05a Followup fix to ArrayLength stuff for bug 693469 -- ISO C++98 forbids templates declaring on local types. Boo-urns! r=red
--HG--
extra : rebase_source : f0e398168239c0be1274079e8260ff363198beee
2011-10-12 11:42:55 -07:00
Jeff Walden 0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Brad Lassey 3b89b06f44 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Justin Lebar 741984bc6f Bug 692963 - Report heap-committed-unallocated-fraction in about:memory. r=khuey 2011-10-10 13:57:05 -04:00
Justin Lebar a0deb3a0e8 Bug 681183 - Make jemalloc_stats.committed meaningful on *nix. r=khuey 2011-10-10 13:54:42 -04:00
Matt Brubeck 605f836e6c Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:47:27 -07:00
Ehsan Akhgari 33b859a0b7 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Justin Lebar 850c326597 Bug 693101 - Unbreak about:memory's parsing of /proc/smaps entries which live in /dev/ashmem on Android. r=khuey 2011-10-10 11:10:50 -04:00
Brad Lassey 60a64b5e80 merge 2011-10-10 10:40:57 -04:00
Brad Lassey bf25d94f50 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Michael Edwards cd0c00f8f2 Bug 687367 - Make bionic domain name functions thread-safe on pre-3.0 Android, r=dougt 2011-10-06 20:55:50 -07:00
Justin Lebar 77cd9e4046 Bug 692923 - Update heap-unallocated description to reflect the fact that heap-dirty doesn't have anything to do with fragmentation. r=khuey
--HG--
extra : rebase_source : d09f4bd41f694375f8d42a10cf278e3c5ac2b92f
2011-10-10 08:47:48 -04:00
Ed Morley 1c81e94b72 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-07 11:37:04 +01:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari 5272acdabd Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg 2011-09-16 16:22:44 -04:00
Justin Lebar 16d506a74f Bug 686720 - Expose PSS from smaps in about:memory. r=khuey 2011-09-15 10:53:04 -07:00
Justin Lebar 70b7558185 Bug 686172 - In about:memory, make the smaps breakdown trees appear only where they're available (on Linux). r=khuey 2011-09-14 17:37:45 -07:00
Justin Lebar 440ed2aa2a Bug 685870 - Fix about:memory's smaps breakdown on Android. r=khuey 2011-09-10 11:20:48 -04:00
Andrew McCreight 0fe49482eb Bug 679779 - Add a #define to always log CC graph. r=bent 2011-08-17 10:35:40 -07:00
Justin Lebar 81a4fe113d Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn
--HG--
extra : rebase_source : 3bbe2f926ba3b0c46a122d51b027a5a6283ae2b0
2011-08-05 18:22:11 -04:00
Matt Brubeck 353c30193a Back out 6cd3556fc807 (bug 674290) because of unittest leaks 2011-09-06 20:42:09 -07:00
Justin Lebar b8add9c282 Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn 2011-08-05 18:22:11 -04:00
Justin Lebar a64e0ef1d8 Bug 684592 - In about:memory, update descriptions of heap-dirty and heap-committed, and only report heap-committed on Windows. rs=njn
--HG--
extra : rebase_source : 66b94efceb15920edcb6a27380450e52b25c5847
2011-09-06 11:57:58 -04:00
Andrew McCreight cb27fabbd1 Bug 649532 - make cycle collector logging output complete CC graph. r=peterv 2011-06-22 10:41:17 -07:00
Rafael Ávila de Espíndola 16f77da63f Bug 682066 - Drop NS_DEFCALL. r=benjamin.
Having NS_DEFCALL around causes problems for clang since it uses
the regpart attribute when deciding template instantiations. In
particular, it would not use the generic method specialization of
nsRunnableMethodTraits.
2011-08-30 14:22:00 -04:00
Matheus Kerschbaum 0f5b3e839c Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum 5a0a7c6411 Bug 680625 part 0: Remove checks and workarounds for 20th century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum 8a4cb927fd Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Luke Wagner 3450b1f27f Backed out changeset 0cf822d12c64 (and dependent be91fb29d950 and 53dd7a930bae) due to intermittent crashes
--HG--
extra : rebase_source : 9c96a4ac164ef8929591ef3d83ad6c974642557a
2011-08-15 17:21:23 -07:00
Luke Wagner 96bc3e3be8 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : b20ddca63da88a8efe2f5dc06364785aebe8b9ea
2011-07-01 14:11:31 -07:00
Ehsan Akhgari 523ebb7851 Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking 2011-08-10 01:36:00 -04:00
Justin Lebar 93f7d16592 Bug 675216 - Update about:memory's description of heap-committed. rs=njn 2011-08-06 11:01:36 -04:00
Dão Gottwald 2c01fa25c2 Backed out changeset 5561bb7124db 2011-08-06 17:16:59 +02:00
Justin Lebar 7e4707e06d Bug 675216 - Update about:memory's description of heap-committed. rs=njn
--HG--
extra : rebase_source : 0193aec86119abd400ac6e9ef58bf6ba2a218a6b
2011-08-06 11:01:36 -04:00
Justin Lebar e99e6d9530 Bug 672731 - Followup to fix botched merge. Update the comment for UNITS_COUNT in nsIMemoryReporter. r=njn 2011-07-26 09:19:55 -04:00
Andrew McCreight 7e5a17e0da Bug 658672 - Reduce size of cycle collector node and edge blocks. r=peterv 2011-06-17 16:19:41 -07:00
Justin Lebar eb96e07e82 Bug 672731 - Add UNITS_COUNT_CUMULATIVE to nsIMemoryReporter. r=njn 2011-07-24 23:56:50 -04:00
Nicholas Nethercote 29686fd711 Bug 669611 - Add memory reporter for GC heap fragmentation. r=jlebar. 2011-07-20 21:08:24 -07:00
Justin Lebar 7ff946f9af Bug 671280 - Rename KIND_MAPPED to KIND_NONHEAP in nsIMemoryReporter. r=njn 2011-07-19 10:33:49 -04:00
Nicholas Nethercote bdc1a7c1c9 Bug 669117 - Add a memory reporter for the Necko memory cache. r=khuey,jduell. 2011-07-18 18:22:36 -07:00
Andrew McCreight 35655d09f6 Bug 665995 - Memory reporter for cycle collector. r=bent 2011-07-08 15:49:31 -07:00
Justin Lebar 7d257a3a62 Bug 667085 - Modify descriptions in nsMemoryReporterManager.cpp. r=njn 2011-07-07 09:14:53 -04:00
Nicholas Nethercote c2b905ac11 Bug 678977 - Teach sqlite to use jemalloc directly when applicable. code=nnethercote,khuey. r=khuey,sdwilsh,jlebar. 2011-11-03 20:53:41 -07:00
Alon Zakai 0e3cba2dd6 Bug 692305 - Make cycle collector dumps multiprocess-friendly. r=dougt 2011-10-06 13:22:43 -07:00
Nathan Froyd 7dbff998b7 Bug 684038 - Report cpuid in telemetry. r=dougt
--HG--
extra : rebase_source : 5cff4221baddabb01a31cdb847d1371d0574e48f
2011-10-06 11:35:46 -04:00
Marco Bonardo 77013a6607 Merge mozilla-inbound and mozilla-central 2011-07-08 11:53:56 +02:00
Nicholas Nethercote 14e0e78adc Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Nicholas Nethercote be5adbc1bf Bug 668893 - Sort about:memory items of type COUNT alphabetically. r=jlebar. 2011-07-07 16:37:26 +10:00
Nicholas Nethercote 2602f5ced7 Bug 660731 - Add GetExplicit and GetResident methods to NSIMemoryReporterManager, attempt 3. r=khuey, sr=bz. 2011-07-07 15:54:34 +10:00
Justin Lebar e7bf31636d Bug 668137 - Followup. Actually display vsize on Windows. r=khuey 2011-07-05 09:38:45 -04:00
Andrew McCreight 2a9ee7ba0c Bug 663920 - add telemetry for num of RCed and GCed nodes, and num collected. r=bent 2011-06-10 13:33:06 -07:00
Mike Hommey ec45f8f1c5 Bug 643779 - Allow to build nsDebugImpl.cpp on ARMv4T. r=dougt 2011-07-01 10:42:47 +02:00
Justin Lebar 1da4e7020d Bug 668524 - Fix warning in nsMemoryReporterManager.cpp due to wrong order of initialization list. r=njn
--HG--
extra : rebase_source : c6609fbf0b470d1aa23937eea168f3780a2bc575
2011-06-30 19:54:42 -04:00
Justin Lebar ab5fb892d3 Bug 668137 - Add vsize to about:memory on Windows. r=njn 2011-06-30 10:46:30 -04:00
Phil Ringnalda 5a3bc6139f Back out da1b9a3c0a98 (bug 668137) for failing to build on OS X 2011-06-29 21:48:57 -07:00
Justin Lebar 5336bee392 Bug 668137 - Add vsize to about:memory on Windows. r=njn 2011-06-30 00:10:50 -04:00
Paul Biggar ext:(%2C%20Jason%20Evans%20%3Cjasone%40canonware.com%3E%20and%20Dale%20Kim%20%3Cdalekim1%40illinois.edu%3E) b960b62118 Bug 414946 (part 1): Fix jemalloc on Mac, but leave disabled (r=pavlov)
Overwrite the OSX default zone allocator, taking into account the malloc_zone_t
version (supported versions are 3, 6, and 8) for Leopard, Snow Leopard and
Lion. jemalloc can be dynamically disabled for unknown malloc_zone_t versions,
for OSX 10.8 and beyond.

The changeset does not enable jemalloc, to allow for easy disabling if there's
a problem. It will be enabled in the next changeset.

This should be a 15-20% improvement in memory usage.
2011-05-21 20:27:00 -07:00
Nicholas Nethercote 03b46a82e6 Bug 666075 - Add memory multi-reporters. r=khuey, sr=bz. 2011-06-30 09:39:32 +10:00
ISHIKAWA Chiaki 8ee583ea11 Bug 697102 - Correct the comment for unregisterErrorStringBundle(); r=bsmedberg DONTBUILD 2011-10-31 18:03:29 +00:00
Justin Lebar 5daed65b45 Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Andrew McCreight e3a49b05f5 Bug 665044 - lift CC GC outside of the CCRunner mutex. r=bent 2011-06-21 15:06:42 -07:00
Kyle Huey 2426689ee4 Merge b-s to m-c 2011-06-25 10:13:14 -07:00
Kyle Huey f2e5ab3f4e Bug 441197: Explicitly close file descriptors in nsTraceRefcntImpl rather than expecting the OS to clean up properly. r=dbaron 2011-06-24 07:22:37 -07:00
Marco Bonardo da3f6b77ac Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Kyle Huey 37576b6e34 Bug 441197: Explicitly close file descriptors in nsTraceRefcntImpl rather than expecting the OS to clean up properly. r=dbaron 2011-06-24 07:22:37 -07:00
Ehsan Akhgari 92ab9f79c9 Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
continuation@gmail.com ae699a9b73 Bug 664506 - Do all of the shutdown GCs in the cycle collector. r=bent
--HG--
extra : rebase_source : d588e910abe9404253c222c81abb25e0bae8fe7a
2011-06-15 15:53:00 -07:00
Taras Glek 3447e79c1c bug 661574: Implement telemetry directory r=Mossop+glandium+mwu 2011-06-20 14:47:58 -07:00
Taras Glek fe42dd7cc0 bug 661574: Move nsITelemetry into toolkit r=Mossop
--HG--
rename : xpcom/base/Telemetry.cpp => toolkit/components/telemetry/Telemetry.cpp
rename : xpcom/base/nsITelemetry.idl => toolkit/components/telemetry/nsITelemetry.idl
rename : xpcom/tests/unit/test_nsITelemetry.js => toolkit/components/telemetry/tests/unit/test_nsITelemetry.js
2011-06-20 14:47:55 -07:00
Mike Hommey ccfa7894df Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Matt Brubeck f5541b7e73 Merge backouts from m-i to m-c to fix regressions on a CLOSED TREE 2011-06-15 09:46:11 -07:00
Matt Brubeck e3a9a86a79 Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression. 2011-06-15 09:00:28 -07:00
Matt Brubeck ede62c1ae5 Merge last green mozilla-inbound changeset to mozilla-central 2011-06-15 08:25:48 -07:00
Andrew McCreight 81ec3bd93a Bug 663532 - Run GC from cycle collector in main thread, not CC thread. r=bent 2011-06-13 13:24:23 -07:00
Mike Hommey f17990f381 Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Andrew McCreight 2c08b43356 Bug 658386 - part 2: eliminate redundant stores of PtrInfo child pointers. r=peterv
--HG--
extra : rebase_source : 34b01a7e2a05a7ea35da408a20b5e97f21681af3
2011-06-09 14:55:29 -07:00
Andrew McCreight 7755be5842 Bug 658386 - part 1: eliminate mLastChild field from PtrInfo. r=peterv
--HG--
extra : rebase_source : d4b6b71ae273b4b570591d6548cfaed559598d49
2011-06-09 14:55:04 -07:00
Jesse Ruderman 02491c57ba Bug 659825 - Rename NS_DEPRECATED to MOZ_DEPRECATED to avoid conflict with Mac 10.7 SDK. r=jcranmer sr=bsmedberg 2011-06-08 09:34:02 +02:00
Chris Leary b1d3530553 Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Nicholas Nethercote df04be1f66 Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Bill McCloskey f0333b1dd8 Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal) 2011-06-03 13:08:21 -07:00
Nicholas Nethercote e942f8f50a Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Mike Hommey d8f57ea03c Add missing file after backout aa83abd4fd01 2011-05-22 18:09:55 +02:00
Mike Hommey 650910705e Backout bug 552864, bug 632404 and bug 657297 because of leak test bustage 2011-05-22 17:52:16 +02:00
Mike Hommey 2941bc9625 Bug 657297 part 1 - Expose a function to add telemetry samples in XRE. r=tglek,sr=bsmedberg 2011-05-22 08:23:20 +02:00
Mike Hommey cf55d3b88a Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg 2011-05-22 08:22:27 +02:00
Taras Glek d90141cfac Bug 657709: Cleanup histogram API r=mrbkap
--HG--
rename : xpcom/base/nsTelemetry.cpp => xpcom/base/Telemetry.cpp
2011-05-19 19:33:05 -07:00
Taras Glek e7d5270db5 bug 585196: Cycle-collector telemetry probe r=bent 2011-05-12 11:22:25 -07:00
Nicholas Nethercote 82a8ac704a Bug 653630 - Allow non-leaf reporters in about:memory. r=sdwilsh. 2011-05-11 16:09:50 -07:00
Chris Leary 613529c295 Merge mozilla-central to tracemonkey. 2011-05-09 14:27:44 -07:00
Andrew McCreight 02359464cb Bug 650519. Add safe function to check gray GC mark bits, then use it. (r=gal)
--HG--
extra : rebase_source : bb8eeed202e30c575ff22165c0b4de591c1dcb64
2011-05-04 09:26:44 -07:00
Ed Morley 33aac194a8 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Taras Glek 5fba39075d bug 649502: Expose histograms to JS r=mrbkap 2011-04-27 11:07:02 -07:00
Nicholas Nethercote 020b76968f Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
L. David Baron abb3b86d3d Make XPCOM_CC_DRAW_GRAPHS work at shutdown (in addition to working for non-shutdown collections). (Bug 652056, patch 3) r=peterv 2011-05-02 18:43:45 -07:00
Daniel Holbert ba611f813d Bug 659187: Make member vars in nsMemoryReporterManager.h match ordering in constructor init list, to fix build warning. r=njn 2011-05-24 03:35:10 -07:00
Matheus Kerschbaum 6eb93f7dd3 Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ehsan Akhgari 6dd48e75f1 Bug 642469 - Sanitize the environment variables upon startup; r=bsmedberg 2011-04-14 10:19:14 -04:00
Chris Leary 47dfb01d0c Merge mozilla-central to tracemonkey. 2011-04-11 16:54:01 -07:00