Commit Graph

987 Commits

Author SHA1 Message Date
Brian R. Bondy
aa2f8e90aa Backout of 266694bb2f66 due to bustage. r=me 2013-03-23 11:11:27 -04:00
Brian R. Bondy
4ef3a925cc Bug 844954 - Add LoadLibrary RAII helper and System32 LoadLirary helper for use anywhere. r=jimm 2013-03-23 10:19:46 -04:00
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Trevor Saunders
7b5cc7e54d bug 852379 - remove unneeded prlock.h includes r=Ms2ger 2013-03-16 22:46:40 -04:00
Jon Coppeard
b752526987 Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Chris Peterson
bfe7aed283 Bug 850408 - Part 2: Remove Snow Leopard OS check from nsStackWalk. r=bsmedberg 2013-03-07 22:59:39 +00:00
Bill McCloskey
a3cea08b3a Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Daniel Holbert
b76c363e13 Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
Fabrice Desré
a6cf6fb434 Bug 848615 - B2G: IPC's nsStringBuffer leak r=bent 2013-03-13 22:55:25 -07:00
Gabriele Svelto
09be4479db Bug 850607 - Properly react to changes to the 'memory.free_dirty_pages' preference. r=jlebar 2013-03-13 12:24:04 +01:00
Gregory Szorc
2c3e072f0a Merge mozilla-central into inbound 2013-03-13 09:03:20 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
8b4f575df1 Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium 2013-03-12 10:20:41 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Ted Mielczarek
3c3453db11 bug 751673 - fix Windows assertion stacks. r=dbaron
--HG--
extra : rebase_source : b74882bb3914afaa44341088b9f737c909e88f65
2013-03-11 14:21:53 -04:00
Zack Weinberg
68dac0c8ba Bug 847181: prune unused printing-related nsresult codes, make printing error codes available in Components.results, and improve English of printing error messages. r=smaug 2013-03-08 21:45:14 -05:00
Igor Bukanov
6e38ffd2b4 Bug 743436 - remove XPCJSRuntime::mJSCycleCollectionContext and related code. r=peterv
The patch removes no longer used XPCJSRuntime::mJSCycleCollectionContext,
nsXPConnect::mCycleCollectionContext and related code to create/destroy
contexts. As that made nsCycleCollectionJSRuntime::FinishTraverse() empty
in all cases I removed that method as well.
2013-02-27 11:33:12 -08:00
Kartikaya Gupta
63723cb5e9 Bug 845804 - Reuse OpenTempFile from nsMemoryInfoDumper in nsCycleCollector.cpp. r=njn
CLOSED TREE
2013-03-01 10:41:17 -05:00
Ed Morley
bb4c7b9abe Backed out changeset 1eda65741914 (bug 845804) for xpcshell failures on a CLOSED TREE 2013-03-01 17:31:38 +00:00
Kartikaya Gupta
3fef252deb Bug 845804 - Reuse OpenTempFile from nsMemoryInfoDumper in nsCycleCollector.cpp. r=njn 2013-03-01 10:41:17 -05:00
Carl X. Su
c49bdfc83e Bug 365367 - NS_CONSOLEMESSAGE_CONTRACTID removed because it is never used. r=bsmedberg 2013-03-01 05:22:56 +08:00
Brian R. Bondy
74c3d24e59 Bug 845571 - Turn on console debug logging when running in Metro. r=jimm 2013-02-28 16:10:17 -05:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
a8e6b873d4 Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Kartikaya Gupta
b2351dc830 Bug 845342 - Move about:memory and related dump files to the downloads dir on android. r=njn 2013-02-27 08:58:29 -05:00
Daniel Holbert
a0b3810689 Bug 845527: Use nsCOMArray::Length() instead of Count() for comparison vs. unsigned index in nsMemoryReporterManager. r=jlebar 2013-02-26 14:25:38 -08:00
Kyle Huey
409e1cc43d Bug 845441: Remove DEBUG_CC. r=mccr8 2013-02-26 13:34:32 -08:00
Jonathan Kew
5219b8ae03 backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Bill McCloskey
c330d96d13 Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley) 2013-02-21 18:23:47 -08:00
L. David Baron
a81cbb3e59 Bug 790589: Document the MOZ_CC_LOG_DIRECTORY environment variable. r=smaug 2013-02-21 18:10:59 -08:00
Boris Zbarsky
25deb6d78c Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv 2013-02-19 11:54:40 -05:00
Aaron Klotz
7b99df31f9 Bug 838279 - Add isWow64 field to system info and to telemetry. r=bsmedberg 2013-02-11 20:49:33 -05:00
Chris Peterson
481aeddb5f Bug 839962 - Part 1: Replace some XPCOM refcount NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg 2013-02-07 20:50:05 -08:00
Justin Lebar
6639b22228 Bug 833913 - Part 3: Switch nsMemoryReporterManager to using nsTHashtable. r=khuey,njn
This makes NS_RegisterMemoryReporter() and NS_UnregisterMemoryReporter()
O(1).  Previously, they took time linear to the number of registered
reporters.
2013-02-01 10:12:52 -05:00
Jeff Walden
8f98ecc84c Bug 836438 - Always implement nsresult using an unsigned 32-bit integer type. r=ehsan
--HG--
extra : rebase_source : f9d9d7772decee36a27ef09eb018b9912bf7bf6b
2013-01-30 15:32:44 -08:00
Jeff Walden
582b2e961d Bug 835648 - Move typed enum support to a new header. r=Ms2ger 2013-01-28 16:33:17 -08:00
Benjamin Smedberg
c5ae1d725f Bug 831428 - Console listeners should not require a threadsafe addref/release method if they are only used from the main thread, r=jlebar 2013-01-29 11:02:56 -05:00
Olli Pettay
04f89eb353 Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8 2013-01-29 12:45:38 +02:00
Bill McCloskey
8544cb4e1d Bug 751618 - Add js/GCAPI.h (r=terrence) 2013-01-27 12:35:12 -08:00
Benjamin Smedberg
131ead677d Bug 827596 - assert at runtime if we try to assign to a nsAutoPtr which already contains the identical pointer, r=dbaron 2013-01-24 11:35:53 -05:00
Ehsan Akhgari
1fdacf16bc Bug 830765 - Remove the unneeded code which tracks the list of loaded modules because it is unused and can cause multi-second hangs; r=sicking a=removes-code-from-libxul 2013-01-21 15:55:31 -05:00
Nicholas Nethercote
f289a4d0e0 Bug 831193 (part 1) - Remove uses of NS_MEMORY_REPORTER_IMPLEMENT from nsMemoryReporterManager.cpp. r=jlebar.
--HG--
extra : rebase_source : bb51ea8dcd4600a675a0ce1ddb45d7ced4f8c359
2013-01-15 23:02:45 -08:00
Nicholas Nethercote
26818bf787 Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz.
--HG--
extra : rebase_source : 543f0e367ce73477d62eca544137a101108a97be
2013-01-17 21:21:43 -08:00
Justin Lebar
4d0815679a Bug 789975 - Follow-up: Fix memory reporter descriptions. r=me 2013-01-16 09:34:25 -05:00
Nicholas Nethercote
b91ac7ea78 Bug 830226 - Reorder memory dumping for increased DMD effectiveness. r=jlebar.
--HG--
extra : rebase_source : 77e864789569a5a5ab1cf81aa403b38fb9a2cb1c
2013-01-15 18:44:11 -08:00
Nicholas Nethercote
5c124004aa Bug 827691 - Treat [stack:nnnn] entries in /proc/self/maps as anonymous memory. r=jlebar.
--HG--
extra : rebase_source : bfe5db77f0a4329a6cafeecfdb9b9de605f53bc5
2013-01-07 20:04:23 -08:00
Justin Lebar
55ab083fda Bug 789975 - Disable purging of MADV_FREE'd pages on MacOS when collecting RSS from Telemetry. r=njn 2013-01-15 09:14:36 -05:00
Mats Palmgren
fb0276a247 Bug 786533 - On OSX, one of the system header files (exception_defines.h) defines 'try' and 'catch' as macros which breaks @try/@catch. We need to #undef those before using nsObjCExceptions.h. r=ehsan 2013-01-15 13:22:03 +01:00
Ryan VanderMeulen
1860b9eb94 Backed out changeset 622427e981a8 (bug 789975) for build bustage.
CLOSED TREE
2013-01-14 22:13:24 -05:00
Justin Lebar
6bb1ee199c Bug 789975 - Disable purging of MADV_FREE'd pages on MacOS when collecting RSS from Telemetry. r=njn 2013-01-14 21:49:25 -05:00
Nicholas Nethercote
5ed17d1b34 Bug 829439 (part 2) - Some memory reporter clean-ups. r=jlebar.
--HG--
extra : rebase_source : 31ef4aaa1dde5299125ed67d297d70ee5fe5c876
2013-01-14 16:28:36 -08:00
Nicholas Nethercote
dc051e917d Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Justin Lebar
a6448c2ae3 Bug 809949 - Dump memory reports when 'memory report' is written to a special fifo on disk. r=glandium,njn 2013-01-14 01:43:25 -05:00
Trevor Saunders
e1d9c076e4 bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan 2013-01-10 03:39:40 -05:00
Kartikaya Gupta
84890b79ad Bug 828124 - Adjust the low-memory threshold down to 384 MiB. r=blassey 2013-01-09 11:12:36 -05:00
Andrew McCreight
7d3dd0a3b1 Bug 690970, part 3: fix black-gray edges in weak containers at start of CC. r=billm 2013-01-08 10:36:51 -08:00
Nicholas Nethercote
0ea79c11c5 Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron. 2012-12-20 21:31:57 -08:00
Nicholas Nethercote
153813802b Bug 825107 - Fix -Wint-to-pointer-cast warnings in nsTraceRefcntImpl.cpp. r=bsmedberg.
--HG--
extra : rebase_source : d0e2cdd3bd7caf3bf2e68d2210bd5dde040a798b
2013-01-03 13:53:51 -08:00
Nicholas Nethercote
5ee4d74504 Bug 826183 - DMD: clear reportedness data before running memory reporters and dumping. r=jlebar.
--HG--
extra : rebase_source : 3ea1c71eacdee712b2d1739a8e25cbf854ea0424
2013-01-06 13:34:39 -08:00
Masatoshi Kimura
b18db0e9e8 Bug 795433 - Use #define for nsresult values in C code. r=ehsan,glandium; feedback=njn 2013-01-05 12:55:22 +09:00
Mike Hommey
8fc314d759 Bug 826625 - Group rss/pss/vsize entries by filename in about:memory. r=jlebar 2013-01-04 22:02:26 +01:00
Nicholas Nethercote
3ee5b531ad Bug 826553 - Add a memory reporter for the event listener manager's hash table. r=bz.
--HG--
extra : rebase_source : 72584fbf0b80c1e8d5451486ca2c46efebc93b44
2013-01-03 21:26:56 -08:00
Ehsan Akhgari
9ce02e8e83 Make gDebugLog obey the normal NSPR_LOG_MODULES rules, no bug, mailinglist-r=bsmedberg 2013-01-03 13:30:59 -05:00
Nicholas Nethercote
acc80a9abd Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Trevor Saunders
e3b2aa92a5 bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Nicholas Nethercote
884ca45414 Bug 819819 (part 1) - Remove DMDV. r=khuey.
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Andrew McCreight
70f90d1845 Bug 823226 - Add environment variables for controlling cycle collector logging. r=smaug 2012-12-19 14:35:50 -08:00
Justin Lebar
6007d234f5 Bug 824395 - Report used stacks separately from unused stacks. r=njn 2012-12-23 21:48:03 -05:00
Neil Rashbrook
b87325632b Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron 2012-12-22 20:40:37 +00:00
Nicholas Nethercote
6c71e7b725 Bug 822148 (part 3) - DMD: Rename |LiveBlock| as |Block|. r=jlebar.
--HG--
extra : rebase_source : 65ccba830ca872fd28a410122ebf65c12cbf6377
2012-12-17 19:56:51 -08:00
Nicholas Nethercote
1cf85ccdfe Bug 822148 (part 2) - DMD: Treat twice-reported blocks more like other blocks. r=jlebar.
--HG--
extra : rebase_source : 345123de945a3c26ec6ca88a599b45efddc4209e
2012-12-17 19:40:07 -08:00
Nicholas Nethercote
fee348194d Bug 822148 (part 1) - DMD: remove reporter names from output because they're redundant. r=jlebar.
--HG--
extra : rebase_source : c9bf57dbd3612719ba60951cb14988ec38b392f0
2012-12-16 16:56:04 -08:00
Andrew McCreight
99c44b89c2 Bug 731853 - Add way to easily log CC with AllTraces at shutdown. r=smaug 2012-09-28 10:11:33 -07:00
Trevor Saunders
f8c71d8f54 bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8 2012-12-08 00:08:37 -05:00
Olli Pettay
893f6388f7 Bug 818739, don't run CC during shutdown, r=mccr8 2012-12-14 20:41:11 +02:00
Gabriele Svelto
c95ca6c01f Bug 814771 - Add a cancelable runnable and use it to cancel a pending memory minimization procedure when an application is brought to the foreground r=jlebar 2012-12-11 19:13:29 +01:00
Nicholas Nethercote
7fe17b1ddf Bug 819772 - Add a memory reporter for DMD's data. r=jlebar.
--HG--
extra : rebase_source : d85f4f08b3c0ec5e81bde9caa63699e60a303b33
2012-12-11 13:54:11 -08:00
Nicholas Nethercote
24cd6ffd1e Bug 717853 (follow-up): Remove the extra '.' char in the suffix of dumped files. r=me.
--HG--
extra : rebase_source : b57126283ba04ad93ab185c8d0800c41ef6f1793
2012-12-11 05:10:37 -08:00
Nicholas Nethercote
0d84313efb Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Bas Schouten
b8bd2ee92a Bug 816117 - Part 1: Add the ability to pass around a windows Thread Context to StackWalkMain64. r=ehsan 2012-12-08 06:15:21 +01:00
Justin Lebar
82a85dbee0 Bug 819539 - Ignore _Unwind_Backtrace errors on ARM + Android. r=glandium 2012-12-07 17:18:22 -05:00
Mike Hommey
95d176978d Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey
--HG--
rename : memory/build/extraMallocFuncs.c => memory/build/jemalloc_config.c
rename : memory/mozjemalloc/jemalloc.h => memory/build/mozmemory.h
rename : memory/build/extraMallocFuncs.c => memory/build/mozmemory_wrap.c
2012-12-07 09:32:24 +01:00
Brian Smith
8b3350f6d2 Bug 772365, Part 1: Implement JARSignatureVerification, r=honzab, parts r=ehsan
* * *
Bug 772365, Part 2.1: Generate test cases for signed app signature verification
* * *
Bug 772365, Part 2.2: Test JAR signature verification

--HG--
extra : rebase_source : 198be789e8b1565dad418e15760fa6dc90da843f
2012-11-14 15:31:39 -08:00
Andrew McCreight
abb6f0af3a Bug 812380 - optimize less aggressively in TraceWeakMapping. r=billm 2012-12-03 09:02:57 -08:00
Chris Double
dca1677cb2 Bug 787228 - Part7: Add Android OS Release version to nsSystemInfo - r=doug.turner
--HG--
extra : rebase_source : 6d3efadfc03ce2035a9f534e1853cec8527a9a52
2012-11-30 15:38:09 +13:00
Olli Pettay
d0b7012d35 Bug 811206, Fix JSHolder drop handling, part 2 (assert), r=mccr8
--HG--
extra : rebase_source : e7731c7d1f81e250ea6992e4a15c3dc52bb136d0
2012-11-28 02:56:06 +02:00
Nicholas Nethercote
2e9214d6ad Bug 811018 - Avoid image double-counting false positive from DMD. r=jlebar.
--HG--
extra : rebase_source : 209759e6030ccd119fb036ce10efab7c59c22fab
2012-11-15 14:06:34 -08:00
Benoit Jacob
cdce3ce25a Bug 811212 - Make most cycle collector assertions fatal - r=mccr8 2012-11-15 02:32:39 -05:00
Benoit Jacob
ee1217da86 Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob
4a50000d0e Bug 806279 - CC macros refactoring: part 1: implement type-generic CC UNLINK/TRAVERSE macros - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Isaac Aggrey
218a57b4d4 Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan 2012-11-14 13:14:21 -06:00
Ehsan Akhgari
f5b80eb686 Backed out changeset da25394a8b55 (bug 802706) for build bustage 2012-11-14 13:24:12 -08:00
Isaac Aggrey
2c0ab41183 Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan,wtc 2012-11-14 13:14:21 -06:00
Josh Matthews
5faa109e12 Bug 804655 - Part 2: Wrap up interface aggregator callbacks with a target thread on which they should be released. r=mayhemer 2012-11-14 16:00:44 +00:00