Commit Graph

713 Commits

Author SHA1 Message Date
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
6d3b20451d Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Mark Capella
1a44f1208f 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
146c531366 Bug 744088 - remove nsCycleCollector_getRuntime. r=smaug 2012-04-11 16:50:03 -07:00
Justin Lebar
da57cc811b Bug 743786 - Add IsMainThread assertions to ClearOnShutdown. r=bmsedberg 2012-04-10 15:58:10 -04:00
Justin Lebar
51d4c74935 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
13b09b8b45 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
46646a522a 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
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Justin Lebar
c7747cbafe 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
38934b4912 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Matt Brubeck
6b29960c06 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
155a287d43 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
2767c94707 Backout 9e4d09efa335 (bug 737857), bd73daadcfe9 (bug 738624), 110338618465 (bug 738011) for mochitest-oth orange 2012-04-01 03:58:06 +01:00
Justin Lebar
ee8c83d4d0 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
26f4612385 Bug 719427. Add a comment about malloc_logger. r=espindola 2012-03-27 13:48:58 -04:00
Marco Bonardo
7a097c82f3 Merge last green PGO from inbound to central 2012-03-27 13:56:40 +02:00
Michael Wu
162dc6f0de Bug 739108 - Set android_sdk_version on gonk, r=cjones 2012-03-25 18:52:03 -07:00
Andrew McCreight
e462a99306 Bug 738769 - only unmark purple if purple. r=smaug 2012-03-26 09:57:29 -07:00
Ehsan Akhgari
d206b44feb Bug 737959 - Fix the startup crash with MallocStackLogging; r=bsmedberg 2012-03-22 13:18:36 -04:00
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Nicholas Nethercote
d32d1f56c9 Bug 732842 - Add assertions for memory reports. r=jlebar. 2012-03-15 15:16:11 -07:00
Andrew McCreight
95d0324898 Bug 736763 - CanSkipInCC when adding roots. r=smaug 2012-03-18 07:17:04 -07:00
Daniel Holbert
8a6a91bc66 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
09da9a072b Bug 521853 - Make all cycle collector faults fatal. r=smaug 2012-03-15 21:13:08 -07:00
Ekanan Ketunuti
6dd7569b81 Bug 722180 - Remove error codes for proxies. r=khuey 2012-02-01 18:53:29 +07:00
Jeff Muizelaar
67d9b4c911 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
55f276020a 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
8752f15ad1 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
421d17bf38 Back out changeset b2ac02d89f41 (wrong bug number; was 733496, should have been 733495). 2012-03-08 14:43:09 -05:00
Justin Lebar
09de20e129 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
6844e12df3 Bug 733264 - Define FramePointerStackWalk on platforms where stackwalking is not supported; r=jrmuizel 2012-03-06 11:38:04 -05:00
Cameron McCormack
6efa10fcb3 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
1a7388ab3b Bug 728460, part 1 - add forget_skippable option to remove childless nodes. r=smaug 2012-03-05 13:48:04 -08:00
Nicholas Nethercote
d8a85cb65a 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
dbb888ac63 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05:00
Justin Lebar
b682bbe4a5 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
a60da3f47e 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
af543a2fb5 Bug 730357 - factor out common NoteChild code. r=smaug 2012-02-26 13:18:44 -08:00
Nathan Froyd
e82d950a64 Bug 700659 - Slay nsHashSets in xpcom/base. r=khuey 2011-11-08 15:25:33 -05:00
Andrew McCreight
0439fbfdb6 Bug 697115 - return detailed CC results. r=smaug 2012-02-23 20:16:37 -08:00
Masatoshi Kimura
28f2776f50 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Mark Capella
0af24742c6 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Nicholas Nethercote
f407686454 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
a6aa7b3ddc Bug 727604 - add release assertions to investigate cycle collector crashes. r=smaug 2012-02-20 12:13:29 -08:00
Olli Pettay
1cf6cb17c8 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
49ff9c7a84 Bug 725768 - BBP for ObjectHolders, additional patch 2, r=mccr8 2012-02-13 22:59:14 +02:00
Jeff Muizelaar
d1be62a4ef 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
f93d67d116 Bug 726374 - clean up CC debug timing infrastructure. r=smaug 2012-02-12 08:02:01 -08:00
Ed Morley
ad5a8e1d06 Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
88ba00973a Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Andrew McCreight
ed6da3301f 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
5538f87c0d 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
ddd936d488 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
adcd1c249a Bug 723501 - Mark MemoryReporter_* final. r=justin.lebar.
--HG--
extra : rebase_source : 7c1066ab8353c8d4766b060491cbbd4adfa44ce0
2012-02-03 10:22:01 +01:00
Boris Zbarsky
ad5fde345e Bug 723446. Be a little more careful changing declarations on keyframe rules. r=dbaron 2012-02-02 11:59:39 -05:00
Matt Brubeck
7e74c1f71e Merge mozilla-central and mozilla-inbound 2012-02-01 17:09:34 -08:00
Ed Morley
348060a7c3 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-01 10:55:34 +00:00
Mark Finkle
11dd9028dc 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
6278f45019 Bug 717861 GetVsize and GetResident underestimate memory size on Solaris r=justin.lebar 2012-01-31 14:32:10 +08:00
Andrew McCreight
59d7adf340 Bug 721794 - add SPS labels for CC entry points. r=smaug 2012-01-31 13:47:47 -08:00
Andrew McCreight
4b18c4fb84 Bug 721248 - make nsICycleCollectorListener a builtinclass. r=smaug 2012-01-31 13:47:47 -08:00
Andrew McCreight
51e4c65bea Bug 721420 - WantAllTraces should disable Skippable CC optimizations. r=smaug 2012-01-29 16:45:08 -08:00
Justin Lebar
cfd962c1c6 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
c83b553615 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
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Bill McCloskey
b5b7133e4b 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
2806f8e46a Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Luke Wagner
deb78ef5af 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
54f0eed49e Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures 2012-01-24 17:32:30 -08:00
Luke Wagner
411fc35146 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor) 2011-07-18 14:54:48 -07:00
Vladan Djeric
68060606a9 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
9a3eb9e60c Bug 715453 (part 2) - Ignore computedSize in nsMallocSizeOfFun. r=jlebar. 2012-01-17 20:23:55 -08:00
Olli Pettay
b691b9467a Bug 718634 - Move CanSkip* to nsCycleCollectionParticipant, r=mccr8
--HG--
extra : rebase_source : 7eb8cadf14e2d38d689e74a354d6edee6f7f9d20
2012-01-17 18:32:19 +02:00
Olli Pettay
a194588f7c 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
740fc32cc3 Merge mozilla-central to mozilla-inbound 2012-01-11 17:28:35 +00:00
Benjamin Smedberg
a25d75630b 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
29cd67e86a 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
6ac5b1589c 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
d58223eec9 Bug 700508 - Disallow non-leaf memory reporters (attempt 3). r=jlebar. 2012-01-07 21:45:35 +11:00
Nicholas Nethercote
873e2b7d49 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
046f6decd4 Backout 4779d8df054b (bug 700508) for linux64 Moth orange 2012-01-06 16:23:05 +00:00
Nicholas Nethercote
c7f2d41685 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
3017ba2181 Merge mozilla-central and mozilla-inbound 2012-01-05 11:31:12 +01:00
Makoto Kato
665bf4f397 Bug 715045 - Remove old vc support code. r=jimm 2012-01-05 16:52:22 +09:00
Brian R. Bondy
54527b0e1a Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00
Ehsan Akhgari
f751d264f8 Bug 714286 followup - Fix the temp path detection code for Windows; r=mccr8 2012-01-03 22:53:30 -05:00
Matthew Gregan
69cd282b07 Bug 710491 - Remove NS_SPECIALIZE_TEMPLATE from nsAutoRef's documentation. r=khuey DONTBUILD 2011-12-14 14:57:39 +13:00
Phil Ringnalda
01be1dd892 Merge mozilla-inbound with mozilla-central 2012-01-01 20:53:49 -08:00
Olli Pettay
11059bccc3 Bug 713778 - nsICycleCollectorListener should not enable trace_all by default, r=mccr8 2012-01-01 23:48:42 +02:00
Ehsan Akhgari
33f140a55b 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
13e0ce90ef 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
44f218c3d4 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
f6824360d3 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
729d39eda6 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
03f0b2e63d 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
841701c767 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
5e533e4d62 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
aa004cb7d1 Bug 712198 - Remove NS_WIN32, NS_UNIX and NS_OS2. r=khuey 2011-12-21 14:09:17 +09:00
Jeff Walden
d58b48ade0 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