Oleg Romashin
1655ded07a
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
8e8ae026d3
Bug 755583 (part 4) - Split up the smaps/ memory reporter tree. r=jlebar.
2012-05-16 20:43:36 -07:00
Justin Lebar
0fa3af9dae
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
58eb5eeac0
Back out c209fea124e1 (bug 754198) because of Win64 build failure
2012-05-11 13:23:49 -07:00
Fabrice Desré
8c0c24a4a2
Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg]
2012-05-11 12:34:24 -07:00
Andrew McCreight
27961269db
Bug 748040 - remove malloc hooks from cycle collector. r=smaug
2012-05-10 07:59:00 -07:00
Andrew McCreight
7465a948a4
Bug 744103, part 5 - Remove remaining langID things from CC. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
dcc0543487
Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
a6b24a3344
Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
3ac11cfc5b
Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
2012-05-03 12:28:10 -07:00
Andrew McCreight
99cd624981
Bug 744103, part 1 - Store nsCycleCollectionJSRuntime separately. r=smaug
2012-05-03 12:28:10 -07:00
Justin Lebar
e7e161cf7f
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
b24cc72fef
Bug 742849 - Disable AvailableMemoryTracker for 64-bit Windows processes. r=bsmedberg
2012-04-30 12:18:48 -04:00
Nicholas Nethercote
3a4aa126ba
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
08dc2dae6b
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
a9c6928a04
Bug 678615, part 2: remove FinishCycleCollection. r=smaug
2012-04-25 08:10:09 -07:00
Andrew McCreight
a5af270e47
Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv
2012-04-25 08:10:09 -07:00
Ehsan Akhgari
a992263c77
Merge mozilla-central into mozilla-inbound
2012-04-24 21:29:44 -04:00
Patrick Wong
30fd6e9e6a
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
98d1b53def
Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg
2012-04-18 23:22:29 -04:00
Ehsan Akhgari
816e9ddd2e
Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage
2012-04-18 17:05:06 -04:00
Peng Kang
ebc77567f8
Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg
2012-04-18 16:31:59 -04:00
Ms2ger
49aa5650bf
Bug 744347 - Remove last traces of EventException; r=smaug
2012-04-14 14:57:07 +02:00
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
Justin Lebar
2a6e6a172d
Bug 711602 - Fix "ASSERTION: bad size recorded" with CloseOnShutdown. r=bsmedberg
2011-12-19 15:49:04 -05:00
Matt Brubeck
62cc037b2e
Back out bcf9ce858829 and a3bade82ac92 (bug 711799) for build failures
2011-12-19 10:43:08 -08:00
Jeff Walden
17fa340376
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
82004e3f2e
Bug 711490 - Add telemetry and memory reporters for counting low-memory events. r=njn
2011-12-19 11:57:57 -05:00
Andrew McCreight
819c130dad
Bug 706164 - Add telemetry for CC forcing GC. r=bent
2011-12-05 09:04:41 -08:00
Nathan Froyd
79815ed55a
Bug 709205 - use GetObserverService in xpcom; r=dougt
2011-12-09 14:36:17 -05:00
Justin Lebar
533924a0b0
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
26afae03b7
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
4b436ba76a
Back out bug 670967 due to Android red.
2011-12-15 09:42:21 -05:00
Justin Lebar
7c1b792bf7
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
828e51635c
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
a544dace2d
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
faa8be8d82
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
313b993b78
Bug 379342 - Remove Win95/Win98 support code in XPCom; r=bsmedberg a=removal
2011-12-13 14:17:58 +00:00
Nicholas Nethercote
688c469bc9
Bug 704400 - Implement --enable-dmd. r=khuey.
2011-12-08 19:09:36 -08:00
Nicholas Nethercote
dfd419a275
Bug 703143 - backout 61d41436beb3 so that bug 700508 can be backed out. r=crashes.
2011-12-08 11:34:18 -08:00
Jeff Walden
3d8e7a0d23
Bug 707352 - Remove NS_FINAL_CLASS completely. r=cjones
2011-12-05 17:10:05 -05:00
Nicholas Nethercote
75ed0e4814
Bug 700508 - Disallow non-leaf memory reporters. r=jlebar.
2011-12-06 16:20:17 -08:00
Rafael Ávila de Espíndola
bb57c6b547
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
86d2741529
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
561bf65f37
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
cbca29d21a
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
b573c23826
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
d0ff732f1d
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
f102556f32
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
a526a1e44e
Bug 668855, part 5: scan weak maps. r=gal
2011-11-24 07:35:57 -05:00
Andrew McCreight
bb93bea281
Bug 668855, part 4: store weak map info in CC data structure. r=gal
2011-11-24 07:35:56 -05:00