Ryan VanderMeulen
d803ddbb37
Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange.
2012-07-10 19:21:54 -04:00
Honza Bambas
369fd5ef50
Bug 765158 - Remove naming of main thread, conflicts with process name on Linux, r=bsmedberg
2012-07-10 23:49:18 +02:00
Benoit Girard
e0ffcea8b4
Bug 766579 - Part 3: Follow up fix. r=dbaron
2012-07-10 17:39:10 -04:00
Benoit Girard
adc71ae1dd
Bug 766579 - Part 1: Add SP param to NS_StackWalk. r=dbaron
...
--HG--
extra : rebase_source : dd4905ffadf5fe9327449fffdfbc665b05d74a6a
2012-06-27 16:08:21 -04:00
Ehsan Akhgari
8e0eba9784
Bug 767479 - Handle the case of more than 1024 frames when walking the stack of another thread on Windows, and also use the infallible allocator when walking the stack of your own thread; r=dbaron
2012-06-22 16:31:59 -04:00
Ehsan Akhgari
1e3615f111
Bug 767488 - Cache the current process handle after reading it for the first time during stack walking; r=dbaron
...
The current process handle never changes, so it doesn't make a lot of sense
to read it over and over again. Note that this doesn't close the process
handle explicitly but that's fine, since Windows will release all of the
open handles when the application is terminated.
2012-06-22 17:48:31 -04:00
Vicamo Yang
556541f5f0
Bug 771048: fix typo in nsAutoRef::swap, r=khuey
2012-07-10 00:19:59 +08:00
Jeff Muizelaar
eb40f02be7
Bug 771317. Fix comment about FASTCALL and inline functions. r=espindola
...
Calling convention does not make a difference on functions that are inlined,
but that feels obvious because no call is being made. Inline functions are not
necessarily inlined so this comment is somewhat misleading.
--HG--
extra : rebase_source : f634f18d1a6669147f53162a7bc0ab08b145cc43
2012-07-05 17:38:30 -04:00
Rafael Ávila de Espíndola
7f776661b8
Bug 732173 - poison write during shutdown in a debug build. r=ted.
...
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Bill McCloskey
0dd01290a1
Bug 758034 - Clean up browser GC API (r=smaug)
2012-06-30 14:16:32 -07:00
Vladan Djeric
80c654d7a5
Bug 763138: Telemetry should indicate whether a debugger is attached. r=bsmedberg,smichaud
2012-06-28 14:57:52 -04:00
Andrew McCreight
95a987d18a
Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug
2012-06-27 08:09:56 -07:00
Bill McCloskey
782289afab
Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8)
2012-06-26 13:11:39 -07:00
Nicholas Nethercote
688fb0d230
Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence.
...
--HG--
extra : rebase_source : 492af75618c40eb2a92be2756f67db93834729cf
2012-06-25 17:08:59 -07:00
Jonathan Watt
9ac7bb2267
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
c91e7f86d0
Bug 765326 - atom-table numbers should include the static atom table; r=njn
2012-06-15 15:51:42 -04:00
Ehsan Akhgari
131b6da040
Bug 766349 - ClearOnShutdown_Internal::ShutdownObserver needs a virtual destructor; r=bsmedberg
2012-06-19 18:23:35 -04:00
Mike Hommey
f600664217
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Jeff Walden
fb7e6c0e93
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Martin Stransky
ecf5be87bb
Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg
2012-06-16 18:05:00 +12:00
Mike Hommey
2536fb188a
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Ed Morley
9ef4312c8c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-15 13:32:55 +01:00
Nathan Froyd
59ad436727
Bug 764985 - make memory reporter helper macros ever-so-slightly more efficient; r=njn
2012-06-14 16:29:00 -04:00
Mike Hommey
3acf5d646d
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Honza Bambas
a588ade248
Bug 729182 - Followup - MPL2 headers, r=Ms2ger
2012-06-13 17:35:31 +02:00
Nicholas Nethercote
51b1dd666a
Bug 760352 (part 2) - Treeify non-JS-compartment KIND_OTHER memory reports where appropriate. r=jlebar.
...
--HG--
extra : rebase_source : 886b3d40a8dc5f7092ed35ffe280814576ca021b
2012-06-11 20:32:26 -07:00
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