Commit Graph

747 Commits

Author SHA1 Message Date
Nicholas Nethercote
d09087aa9d Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar.
--HG--
extra : rebase_source : d28d117fbc2c91069222649741f5ef6b567b3e2a
2012-06-11 20:29:12 -07:00
Daniel Holbert
fde1b68d4c Bug 765041: Reorder AutoEventTracer init list to fix GCC build warning. r=smaug 2012-06-14 15:26:04 -07:00
Andrew McCreight
9731294da3 Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug 2012-06-14 08:52:54 -07:00
Ehsan Akhgari
b5161f97b8 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
Honza Bambas
c61b56c996 Bug 729182 - Implement visual event tracer, part1 - the core, r=benjamin+ehsan 2012-06-12 19:06:21 +02:00
Honza Bambas
f29e1ac591 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Jan Varga
f5f6531fb7 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Nathan Froyd
3e46d1764c Bug 759417 - handle big device numbers in MapsMemoryReporter.cpp; r=jlebar 2012-05-30 15:11:58 -04:00
Ms2ger
2d6f04146c Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
5e1097e278 Bug 757977 - Don't use uint32 in nsCycleCollector::ScanWeakMaps; r=bsmedberg 2012-05-25 09:18:30 +02:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oleg Romashin
5afbe4e354 Bug 756384 - Maemo/Meego builds should have the "Mobile" token in the UA string. r=mfinkle 2012-05-19 11:31:17 -04:00
Nicholas Nethercote
849adf65aa Bug 755583 (part 4) - Split up the smaps/ memory reporter tree. r=jlebar. 2012-05-16 20:43:36 -07:00
Justin Lebar
e3983d9b9b Bug 757924 - Register the heap-committed-unused memory reporter. r=khuey
--HG--
extra : rebase_source : dc4eddd09b2d074e830ec153af4a5ff4bb8b7a3a
2012-05-24 11:10:58 -04:00
Matt Brubeck
f08ab73a53 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré
fe66918d12 Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Andrew McCreight
d170aa07e6 Bug 748040 - remove malloc hooks from cycle collector. r=smaug 2012-05-10 07:59:00 -07:00
Andrew McCreight
518dcd29db Bug 744103, part 5 - Remove remaining langID things from CC. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
61de8b7612 Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
e9753b7090 Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
38b851ba07 Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Andrew McCreight
8f2a67acb2 Bug 744103, part 1 - Store nsCycleCollectionJSRuntime separately. r=smaug 2012-05-03 12:28:10 -07:00
Justin Lebar
8bae8c2aa9 Bug 748440 - Part 1: Add heap-committed-unused and heap-committed-unused-ratio memory reporters, and rename some JS memory reporters to match. Also add back the js-gc-heap memory reporter. r=njn
--HG--
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsing_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsing_autostart.js
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_autostart.js
rename : security/manager/ssl/src/TransportSecurityInfo.cpp => security/manager/ssl/src/nsNSSIOLayer.cpp
rename : security/manager/ssl/src/TransportSecurityInfo.h => security/manager/ssl/src/nsNSSIOLayer.h
extra : rebase_source : 237a72f9b82f0e39dd0f15afa6056f231dc58358
2012-04-30 14:27:15 -04:00
Justin Lebar
63374154d6 Bug 742849 - Disable AvailableMemoryTracker for 64-bit Windows processes. r=bsmedberg 2012-04-30 12:18:48 -04:00
Nicholas Nethercote
e78fb15e4c Bug 744311 (part 2) - Don't use -1 to represent "unknown" in memory reporters. r=jlebar.
--HG--
extra : rebase_source : 8f726aef17e5b814f5b740b453c9a67a1ef7646d
2012-04-11 19:38:31 -07:00
Nicholas Nethercote
c33177f72e Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Andrew McCreight
b23b951d76 Bug 678615, part 2: remove FinishCycleCollection. r=smaug 2012-04-25 08:10:09 -07:00
Andrew McCreight
9b6a388e23 Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv 2012-04-25 08:10:09 -07:00
Ehsan Akhgari
c7d143b9fa Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Patrick Wong
15df25098f Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Peng Kang
2fbc22e590 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 23:22:29 -04:00
Ehsan Akhgari
dbae9d14b7 Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage 2012-04-18 17:05:06 -04:00
Peng Kang
f1c951a722 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 16:31:59 -04:00
Ms2ger
5ac4683866 Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Ms2ger
b8ae2456b2 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
e24ce4be34 Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Mark Capella
1839be84c0 Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Andrew McCreight
3b03476fec Bug 744088 - remove nsCycleCollector_getRuntime. r=smaug 2012-04-11 16:50:03 -07:00
Justin Lebar
b35ba51ee4 Bug 743786 - Add IsMainThread assertions to ClearOnShutdown. r=bmsedberg 2012-04-10 15:58:10 -04:00
Justin Lebar
f8a3cab1d6 Bug 724072 - If using a content process, display the pid and "parent"/"child" along with each NS_WARNING. r=bsmedberg
--HG--
extra : rebase_source : e50670c28aa95de347ce68efaebb84c9682b2c36
2012-04-10 15:57:20 -04:00
Justin Lebar
90e145253e Bug 741540 - Add AvailableMemoryTracker's hooks before any threads have started up. r=bsmedberg
--HG--
extra : rebase_source : 5135df39b3ae022e75f8651b2e10a378edbae158
2012-04-09 13:53:08 -04:00
Mike Hommey
8707a0e9c7 Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Veeraya Pupatwibul
26e9a6a204 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Justin Lebar
e71332b560 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Mark Capella
4666038a24 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Matt Brubeck
678b0cfe89 Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Justin Lebar
007d8115b5 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : a486e644351af72a4276f26de2e4588ee851426f
2012-04-02 10:37:04 -04:00
Ed Morley
e0cc7fbc48 Backout 9e4d09efa335 (bug 737857), bd73daadcfe9 (bug 738624), 110338618465 (bug 738011) for mochitest-oth orange 2012-04-01 03:58:06 +01:00
Justin Lebar
42967d11c8 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : 37480ae937cbe2a09ae0ce7c187dafef94db5e16
2012-03-31 15:39:31 -07:00
Jeff Muizelaar
adf7394c63 Bug 719427. Add a comment about malloc_logger. r=espindola 2012-03-27 13:48:58 -04:00
Marco Bonardo
54f60fcf68 Merge last green PGO from inbound to central 2012-03-27 13:56:40 +02:00
Michael Wu
06ae9366ee Bug 739108 - Set android_sdk_version on gonk, r=cjones 2012-03-25 18:52:03 -07:00
Andrew McCreight
7e1f1d540f Bug 738769 - only unmark purple if purple. r=smaug 2012-03-26 09:57:29 -07:00
Ehsan Akhgari
3939916769 Bug 737959 - Fix the startup crash with MallocStackLogging; r=bsmedberg 2012-03-22 13:18:36 -04:00
Hessam Salehi
7d69570885 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Nicholas Nethercote
75315de3e2 Bug 732842 - Add assertions for memory reports. r=jlebar. 2012-03-15 15:16:11 -07:00
Andrew McCreight
31374c7891 Bug 736763 - CanSkipInCC when adding roots. r=smaug 2012-03-18 07:17:04 -07:00
Daniel Holbert
9fc8dc8ddd Bug 711047, followup to part 2: use C-style comment in nsError.h, to fix build warnings for its inclusion in .c files. rs=sicking 2012-03-16 15:16:40 -07:00
Andrew McCreight
4ad16ff672 Bug 521853 - Make all cycle collector faults fatal. r=smaug 2012-03-15 21:13:08 -07:00
Ekanan Ketunuti
0fb802fc1b Bug 722180 - Remove error codes for proxies. r=khuey 2012-02-01 18:53:29 +07:00
Jeff Muizelaar
06af852226 Bug 732806. Make stackwalking respect the stack end on OS X. r=ehsan
This will help us avoid some crashes.
2012-02-15 00:17:34 -05:00
Nicholas Nethercote
d539e72dcc Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Justin Lebar
e74bd1ca4a Bug 733495 - Monitor ullAvailPageFile (available commit space) on Windows, and fire a low-memory event when it gets low. r=bsmedberg 2012-03-08 14:44:20 -05:00
Justin Lebar
eda5f85e3a Back out changeset b2ac02d89f41 (wrong bug number; was 733496, should have been 733495). 2012-03-08 14:43:09 -05:00
Justin Lebar
fa6e712a87 Bug 733496 - Monitor ullAvailPageFile (available commit space) on Windows, and fire a low-memory event when it gets low. r=bsmedberg 2012-03-08 14:27:14 -05:00
Ehsan Akhgari
8e4c86f1c4 Bug 733264 - Define FramePointerStackWalk on platforms where stackwalking is not supported; r=jrmuizel 2012-03-06 11:38:04 -05:00
Cameron McCormack
24ec15b64b Bug 732664 - Use FormatMessageA so that XPCOM stack walker prints error message correctly. r=dbaron 2012-03-06 10:04:40 +11:00
Andrew McCreight
7dc772d01a Bug 728460, part 1 - add forget_skippable option to remove childless nodes. r=smaug 2012-03-05 13:48:04 -08:00
Nicholas Nethercote
78363fbd82 Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Aryeh Gregor
88c8133b31 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05:00
Justin Lebar
62dbeeb1ab Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Nicholas Nethercote
4a60fe0183 Bug 728990 - Change "The two measurements of 'explicit' memory usage don't match" assertion to a warning, because it fails occasionally due to races. r=jruderman.
--HG--
extra : rebase_source : 3b2a8c8f14690bea041366dd35ff5147895abd56
2012-02-26 20:17:46 -08:00
Andrew McCreight
19d62669fe Bug 730357 - factor out common NoteChild code. r=smaug 2012-02-26 13:18:44 -08:00
Nathan Froyd
ef27fe4d46 Bug 700659 - Slay nsHashSets in xpcom/base. r=khuey 2011-11-08 15:25:33 -05:00
Andrew McCreight
8acb3a3fe5 Bug 697115 - return detailed CC results. r=smaug 2012-02-23 20:16:37 -08:00
Masatoshi Kimura
8cea90b046 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Nicholas Nethercote
9472d29e81 Bug 702300 (part 8) - Add about:compartments. r=jlebar, ehsan.
--HG--
extra : rebase_source : ad9de010f0b51d5ae7d74b8cbc04c8748767ec0b
2012-02-16 22:10:39 -08:00
Andrew McCreight
f16d79e531 Bug 727604 - add release assertions to investigate cycle collector crashes. r=smaug 2012-02-20 12:13:29 -08:00
Olli Pettay
80f2d0e592 Bug 726346 - Implement a version of nsICycleCollectorListener for devtools, r=mccr8
--HG--
extra : rebase_source : e0ff9a1bba67eb8efa433f954ac03691252f6bed
2012-02-17 19:35:22 +02:00
Olli Pettay
8435d939fc Bug 725768 - BBP for ObjectHolders, additional patch 2, r=mccr8 2012-02-13 22:59:14 +02:00
Jeff Muizelaar
c818deeaac Bug 724079. Add an internal stackwalk API. r=ehsan
This will be used by the profiler to be able to unwind arbitrary threads.
2012-02-03 15:13:24 -05:00
Andrew McCreight
49605ca50a Bug 726374 - clean up CC debug timing infrastructure. r=smaug 2012-02-12 08:02:01 -08:00
Ed Morley
ada565efab Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
09012b6e7c Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Andrew McCreight
f8cd31c84a Bug 696174 - Log JS heap at the same time as CC heap. r=bholley,smaug 2012-02-02 16:32:30 -08:00
Benjamin Smedberg
d794b302ef Bug 716594 - Switch nsBinaryInputStream::ReadBytes back to using the fallible allocator because it correctly checks for allocation errors and streams are untrusted input we should try to work with, r=dbaron 2012-02-07 13:06:05 -05:00
Nicholas Nethercote
610b65aebb Bug 689583 - Add names for memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00
Rafael Ávila de Espíndola
a6de2ba5ee Bug 723501 - Mark MemoryReporter_* final. r=justin.lebar.
--HG--
extra : rebase_source : 7c1066ab8353c8d4766b060491cbbd4adfa44ce0
2012-02-03 10:22:01 +01:00
Boris Zbarsky
dbea24d349 Bug 723446. Be a little more careful changing declarations on keyframe rules. r=dbaron 2012-02-02 11:59:39 -05:00
Matt Brubeck
6eb3db5623 Merge mozilla-central and mozilla-inbound 2012-02-01 17:09:34 -08:00
Ed Morley
98b43b9ac2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-01 10:55:34 +00:00
Mark Finkle
cff188cc80 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
a65223d175 Bug 717861 GetVsize and GetResident underestimate memory size on Solaris r=justin.lebar 2012-01-31 14:32:10 +08:00
Andrew McCreight
03d6a4cbfe Bug 721794 - add SPS labels for CC entry points. r=smaug 2012-01-31 13:47:47 -08:00
Andrew McCreight
24c259bcc6 Bug 721248 - make nsICycleCollectorListener a builtinclass. r=smaug 2012-01-31 13:47:47 -08:00
Andrew McCreight
f75a456117 Bug 721420 - WantAllTraces should disable Skippable CC optimizations. r=smaug 2012-01-29 16:45:08 -08:00
Justin Lebar
e9d052483e 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
563cfffc3e 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
dd32d38d63 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00