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
Andrew McCreight
46b5e713df
Bug 668855, part 2: add nsCycleCollectionTraversalCallback hook for weak mappings. r=peterv
2011-11-24 07:35:56 -05:00
Ed Morley
2da5c66f5b
Merge mozilla-central and mozilla-inbound
2011-11-23 12:12:23 +00:00
Doug Turner
f18b339bad
Bug 694325 - Backout of bfb56029f4bd due to crashes on android tablets. r=sworkman
2011-11-22 14:58:25 -08:00
Steve Workman
1e492d58a1
Bug 694325: Add threadsafe getaddrinfo to libmozutils; restore multi-threading to nsHostResolver for DNS requests. r=mwu
2011-11-21 18:21:21 -08:00
Jeff Walden
19f38bafe5
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Ginn Chen
375a95126e
Bug 702529 Add GetVsize and GetResident methods on Solaris r=khuey
2011-11-21 11:09:52 +08:00
Lucas Molas
0601ddff94
Bug 680556 - Make NS_(Re)Alloc infallible. r=bsmedberg
2011-11-09 11:42:00 -05:00
Ed Morley
d06867876a
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-18 08:43:10 +00:00
Mark Finkle
947c65f236
Bug 703370 - Cleanup the console service logcat tag (sync with birch) [r=dougt]
2011-11-17 23:07:06 -05:00
Ed Morley
97ff754433
Merge mozilla-central to mozilla-inbound
2011-11-15 19:19:24 +00:00
Doug Turner
3e36b0c4d4
Bug 702029 - Push all console logging to androids adb logcat. r=blassey
2011-11-14 19:12:20 -08:00
Hugh Nougher
b76df8b343
Bug 702483 - Rename heap-committed-unallocated-fraction to heap-committed-fragmentation
2011-11-14 21:17:00 -05:00
Olli Pettay
6868642bc4
Bug 702240 - [CC] Optimize sizeof nsPurpleBuffer::Block, r=mccr8
2011-11-14 18:10:06 +02:00
Marco Bonardo
58bfb85dcd
Merge mozilla-central and mozilla-inbound
2011-11-11 11:09:58 +01:00
Ed Morley
24695badf6
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Ed Morley
a64b07433e
Backout 31d345404c98 (bug 671634) due to missing privacy review and necko peer review; a=dao
2011-11-08 10:43:36 +00:00
Michael Wu
3e0835d415
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Gregory Szorc
f9737cefa1
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Andrew McCreight
e67ac61bae
Bug 694436 - begin CC listener before BeginCollection. r=bent
2011-10-13 17:37:18 -07:00
Wes Johnston
a2f4279fa4
Bug 671634 - Update Fennec useragent to more closely match stock browser. r=dougt
2011-11-07 15:03:53 -08:00
Jonathan Watt
8a0b72332d
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Mark Banner
cbd25443a2
Bug 693949 - Drop nsCStringArray. r=bsmedberg
2011-10-28 08:35:45 +01:00
Justin Lebar
0b13a5f417
Bug 693404 - Part 2: On Mac, purge MADV_FREE'd pages before reading RSS. r=khuey
2011-10-24 13:24:02 -04:00
Justin Lebar
500d48e1f3
Back out bug 693404 (2f7668cd67bc, 3db099ca452a) due to red.
2011-10-24 14:02:16 -04:00
Justin Lebar
ac6aa8951b
Bug 693404 - Part 2: On Mac, purge MADV_FREE'd pages before reading RSS. r=khuey
...
--HG--
extra : rebase_source : c0f1f82aba30d32166e17d7d4216017475c9c09a
2011-10-24 13:24:02 -04:00
Luke Wagner
cad36b0123
Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
...
--HG--
extra : rebase_source : f18561fff556332789e05623ab0cec2e7faacf78
2011-07-01 14:11:31 -07:00
Justin Lebar
f0603174db
Bug 695691 - Fix fscanf warning about %lu attached to size_t in nsMemoryReporterManager.cpp. r=njn
2011-10-20 11:57:54 -04:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Justin Lebar
9e4d4d4939
Bug 693976 - Don't parse /proc/self/maps once for every entry in /proc/self/smaps. r=khuey
2011-10-14 15:05:52 -04:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0015843458
Really fix the redness from bug 693469. r=red
2011-10-12 12:02:08 -07:00
Jeff Walden
e19cd18cea
Followup fix to ArrayLength stuff for bug 693469 -- ISO C++98 forbids templates declaring on local types. Boo-urns! r=red
...
--HG--
extra : rebase_source : f0e398168239c0be1274079e8260ff363198beee
2011-10-12 11:42:55 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Brad Lassey
d174ebedad
Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367
2011-10-10 10:40:27 -04:00
Justin Lebar
3637670041
Bug 692963 - Report heap-committed-unallocated-fraction in about:memory. r=khuey
2011-10-10 13:57:05 -04:00
Justin Lebar
254211dda2
Bug 681183 - Make jemalloc_stats.committed meaningful on *nix. r=khuey
2011-10-10 13:54:42 -04:00
Matt Brubeck
eb9465f1a3
Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE
2011-10-10 09:47:27 -07:00
Ehsan Akhgari
ee637e4944
Merge mozilla-central into mozilla-inbound
2011-10-10 11:30:21 -04:00
Justin Lebar
cbc4216a44
Bug 693101 - Unbreak about:memory's parsing of /proc/smaps entries which live in /dev/ashmem on Android. r=khuey
2011-10-10 11:10:50 -04:00
Brad Lassey
ab723a6a51
merge
2011-10-10 10:40:57 -04:00
Brad Lassey
4528a38462
Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367
2011-10-10 10:40:27 -04:00
Michael Edwards
8d268b37aa
Bug 687367 - Make bionic domain name functions thread-safe on pre-3.0 Android, r=dougt
2011-10-06 20:55:50 -07:00
Justin Lebar
0d10563c8a
Bug 692923 - Update heap-unallocated description to reflect the fact that heap-dirty doesn't have anything to do with fragmentation. r=khuey
...
--HG--
extra : rebase_source : d09f4bd41f694375f8d42a10cf278e3c5ac2b92f
2011-10-10 08:47:48 -04:00
Ed Morley
43c08e27c3
Merge last green changeset of mozilla-inbound to mozilla-central
2011-10-07 11:37:04 +01:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
b542efd4e6
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
Justin Lebar
b324c30126
Bug 686720 - Expose PSS from smaps in about:memory. r=khuey
2011-09-15 10:53:04 -07:00
Justin Lebar
5b35cccb7d
Bug 686172 - In about:memory, make the smaps breakdown trees appear only where they're available (on Linux). r=khuey
2011-09-14 17:37:45 -07:00
Justin Lebar
5c092fdcf2
Bug 685870 - Fix about:memory's smaps breakdown on Android. r=khuey
2011-09-10 11:20:48 -04:00
Andrew McCreight
8455baa711
Bug 679779 - Add a #define to always log CC graph. r=bent
2011-08-17 10:35:40 -07:00
Justin Lebar
702c021819
Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn
...
--HG--
extra : rebase_source : 3bbe2f926ba3b0c46a122d51b027a5a6283ae2b0
2011-08-05 18:22:11 -04:00
Matt Brubeck
ef44922f52
Back out 6cd3556fc807 (bug 674290) because of unittest leaks
2011-09-06 20:42:09 -07:00
Justin Lebar
5315b70bee
Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn
2011-08-05 18:22:11 -04:00
Justin Lebar
d2b57dbde1
Bug 684592 - In about:memory, update descriptions of heap-dirty and heap-committed, and only report heap-committed on Windows. rs=njn
...
--HG--
extra : rebase_source : 66b94efceb15920edcb6a27380450e52b25c5847
2011-09-06 11:57:58 -04:00
Andrew McCreight
49c706d2b5
Bug 649532 - make cycle collector logging output complete CC graph. r=peterv
2011-06-22 10:41:17 -07:00
Rafael Ávila de Espíndola
4387485520
Bug 682066 - Drop NS_DEFCALL. r=benjamin.
...
Having NS_DEFCALL around causes problems for clang since it uses
the regpart attribute when deciding template instantiations. In
particular, it would not use the generic method specialization of
nsRunnableMethodTraits.
2011-08-30 14:22:00 -04:00
Matheus Kerschbaum
3bcb2143b6
Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted
2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
b9a52be4e0
Bug 680625 part 0: Remove checks and workarounds for 20th century compilers. r=ted
2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
887ff1b97a
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Luke Wagner
87add7e577
Backed out changeset 0cf822d12c64 (and dependent be91fb29d950 and 53dd7a930bae) due to intermittent crashes
...
--HG--
extra : rebase_source : 9c96a4ac164ef8929591ef3d83ad6c974642557a
2011-08-15 17:21:23 -07:00
Luke Wagner
4263a80f79
Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
...
--HG--
extra : rebase_source : b20ddca63da88a8efe2f5dc06364785aebe8b9ea
2011-07-01 14:11:31 -07:00
Ehsan Akhgari
e48161b8ff
Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking
2011-08-10 01:36:00 -04:00
Justin Lebar
310504b74a
Bug 675216 - Update about:memory's description of heap-committed. rs=njn
2011-08-06 11:01:36 -04:00
Dão Gottwald
41e1dbde77
Backed out changeset 5561bb7124db
2011-08-06 17:16:59 +02:00
Justin Lebar
6f6c68efa7
Bug 675216 - Update about:memory's description of heap-committed. rs=njn
...
--HG--
extra : rebase_source : 0193aec86119abd400ac6e9ef58bf6ba2a218a6b
2011-08-06 11:01:36 -04:00
Justin Lebar
a85147aac4
Bug 672731 - Followup to fix botched merge. Update the comment for UNITS_COUNT in nsIMemoryReporter. r=njn
2011-07-26 09:19:55 -04:00
Andrew McCreight
75e9df8a09
Bug 658672 - Reduce size of cycle collector node and edge blocks. r=peterv
2011-06-17 16:19:41 -07:00
Justin Lebar
3e07692ce3
Bug 672731 - Add UNITS_COUNT_CUMULATIVE to nsIMemoryReporter. r=njn
2011-07-24 23:56:50 -04:00
Nicholas Nethercote
f3aebefb11
Bug 669611 - Add memory reporter for GC heap fragmentation. r=jlebar.
2011-07-20 21:08:24 -07:00
Justin Lebar
470956d8ab
Bug 671280 - Rename KIND_MAPPED to KIND_NONHEAP in nsIMemoryReporter. r=njn
2011-07-19 10:33:49 -04:00
Nicholas Nethercote
44f3c270fd
Bug 669117 - Add a memory reporter for the Necko memory cache. r=khuey,jduell.
2011-07-18 18:22:36 -07:00
Andrew McCreight
cf9fbb4c46
Bug 665995 - Memory reporter for cycle collector. r=bent
2011-07-08 15:49:31 -07:00
Justin Lebar
4c7c7773bc
Bug 667085 - Modify descriptions in nsMemoryReporterManager.cpp. r=njn
2011-07-07 09:14:53 -04:00
Nicholas Nethercote
63194d0020
Bug 678977 - Teach sqlite to use jemalloc directly when applicable. code=nnethercote,khuey. r=khuey,sdwilsh,jlebar.
2011-11-03 20:53:41 -07:00
Alon Zakai
7a2a264e2d
Bug 692305 - Make cycle collector dumps multiprocess-friendly. r=dougt
2011-10-06 13:22:43 -07:00
Nathan Froyd
df7bb4249e
Bug 684038 - Report cpuid in telemetry. r=dougt
...
--HG--
extra : rebase_source : 5cff4221baddabb01a31cdb847d1371d0574e48f
2011-10-06 11:35:46 -04:00
Marco Bonardo
94da8809f7
Merge mozilla-inbound and mozilla-central
2011-07-08 11:53:56 +02:00
Nicholas Nethercote
7b61ea2b0e
Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz.
2011-07-08 12:45:16 +10:00
Nicholas Nethercote
d263e03bd2
Bug 668893 - Sort about:memory items of type COUNT alphabetically. r=jlebar.
2011-07-07 16:37:26 +10:00
Nicholas Nethercote
a74f9b9ef6
Bug 660731 - Add GetExplicit and GetResident methods to NSIMemoryReporterManager, attempt 3. r=khuey, sr=bz.
2011-07-07 15:54:34 +10:00
Justin Lebar
d118338822
Bug 668137 - Followup. Actually display vsize on Windows. r=khuey
2011-07-05 09:38:45 -04:00
Andrew McCreight
55cc0fa2b0
Bug 663920 - add telemetry for num of RCed and GCed nodes, and num collected. r=bent
2011-06-10 13:33:06 -07:00
Mike Hommey
d0f343df9f
Bug 643779 - Allow to build nsDebugImpl.cpp on ARMv4T. r=dougt
2011-07-01 10:42:47 +02:00
Justin Lebar
cdf63080c2
Bug 668524 - Fix warning in nsMemoryReporterManager.cpp due to wrong order of initialization list. r=njn
...
--HG--
extra : rebase_source : c6609fbf0b470d1aa23937eea168f3780a2bc575
2011-06-30 19:54:42 -04:00
Justin Lebar
1b45b8710f
Bug 668137 - Add vsize to about:memory on Windows. r=njn
2011-06-30 10:46:30 -04:00
Phil Ringnalda
eff8910ff9
Back out da1b9a3c0a98 (bug 668137) for failing to build on OS X
2011-06-29 21:48:57 -07:00
Justin Lebar
29c3d90d47
Bug 668137 - Add vsize to about:memory on Windows. r=njn
2011-06-30 00:10:50 -04:00
Paul Biggar ext:(%2C%20Jason%20Evans%20%3Cjasone%40canonware.com%3E%20and%20Dale%20Kim%20%3Cdalekim1%40illinois.edu%3E)
c0072a7363
Bug 414946 (part 1): Fix jemalloc on Mac, but leave disabled (r=pavlov)
...
Overwrite the OSX default zone allocator, taking into account the malloc_zone_t
version (supported versions are 3, 6, and 8) for Leopard, Snow Leopard and
Lion. jemalloc can be dynamically disabled for unknown malloc_zone_t versions,
for OSX 10.8 and beyond.
The changeset does not enable jemalloc, to allow for easy disabling if there's
a problem. It will be enabled in the next changeset.
This should be a 15-20% improvement in memory usage.
2011-05-21 20:27:00 -07:00
Nicholas Nethercote
800388b615
Bug 666075 - Add memory multi-reporters. r=khuey, sr=bz.
2011-06-30 09:39:32 +10:00
ISHIKAWA Chiaki
f0b29a4478
Bug 697102 - Correct the comment for unregisterErrorStringBundle(); r=bsmedberg DONTBUILD
2011-10-31 18:03:29 +00:00
Justin Lebar
169b00ccad
Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
...
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Andrew McCreight
4c9425df02
Bug 665044 - lift CC GC outside of the CCRunner mutex. r=bent
2011-06-21 15:06:42 -07:00
Kyle Huey
ecb9c8319d
Merge b-s to m-c
2011-06-25 10:13:14 -07:00
Kyle Huey
22c9dc99a7
Bug 441197: Explicitly close file descriptors in nsTraceRefcntImpl rather than expecting the OS to clean up properly. r=dbaron
2011-06-24 07:22:37 -07:00
Marco Bonardo
acc6a474c6
Revert to changeset a87ee7550f6a due to incomplete backout
2011-06-24 17:23:04 +02:00
Kyle Huey
f4d9366afb
Bug 441197: Explicitly close file descriptors in nsTraceRefcntImpl rather than expecting the OS to clean up properly. r=dbaron
2011-06-24 07:22:37 -07:00
Ehsan Akhgari
d71311ff57
Merge mozilla-central into mozilla-inbound
2011-06-20 23:42:45 -04:00
continuation@gmail.com
4508cf0dbb
Bug 664506 - Do all of the shutdown GCs in the cycle collector. r=bent
...
--HG--
extra : rebase_source : d588e910abe9404253c222c81abb25e0bae8fe7a
2011-06-15 15:53:00 -07:00
Taras Glek
1513a94ec9
bug 661574: Implement telemetry directory r=Mossop+glandium+mwu
2011-06-20 14:47:58 -07:00
Taras Glek
b7235b42f0
bug 661574: Move nsITelemetry into toolkit r=Mossop
...
--HG--
rename : xpcom/base/Telemetry.cpp => toolkit/components/telemetry/Telemetry.cpp
rename : xpcom/base/nsITelemetry.idl => toolkit/components/telemetry/nsITelemetry.idl
rename : xpcom/tests/unit/test_nsITelemetry.js => toolkit/components/telemetry/tests/unit/test_nsITelemetry.js
2011-06-20 14:47:55 -07:00
Mike Hommey
7d2a5f6eb2
Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg
2011-05-22 08:22:27 +02:00
Matt Brubeck
7106b6286a
Merge backouts from m-i to m-c to fix regressions on a CLOSED TREE
2011-06-15 09:46:11 -07:00
Matt Brubeck
28a99ad4d4
Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression.
2011-06-15 09:00:28 -07:00
Matt Brubeck
6a416ce1d6
Merge last green mozilla-inbound changeset to mozilla-central
2011-06-15 08:25:48 -07:00
Andrew McCreight
754c52bb6f
Bug 663532 - Run GC from cycle collector in main thread, not CC thread. r=bent
2011-06-13 13:24:23 -07:00
Mike Hommey
9b8bddafa3
Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg
2011-05-22 08:22:27 +02:00
Andrew McCreight
48af6523de
Bug 658386 - part 2: eliminate redundant stores of PtrInfo child pointers. r=peterv
...
--HG--
extra : rebase_source : 34b01a7e2a05a7ea35da408a20b5e97f21681af3
2011-06-09 14:55:29 -07:00
Andrew McCreight
72ae723faf
Bug 658386 - part 1: eliminate mLastChild field from PtrInfo. r=peterv
...
--HG--
extra : rebase_source : d4b6b71ae273b4b570591d6548cfaed559598d49
2011-06-09 14:55:04 -07:00
Jesse Ruderman
a3638a85b4
Bug 659825 - Rename NS_DEPRECATED to MOZ_DEPRECATED to avoid conflict with Mac 10.7 SDK. r=jcranmer sr=bsmedberg
2011-06-08 09:34:02 +02:00
Chris Leary
f8e0e912ab
Merge mozilla-central to tracemonkey.
2011-06-06 09:41:22 -07:00
Nicholas Nethercote
3f2c2d551f
Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc.
2011-06-06 11:22:45 +10:00
Bill McCloskey
f7c5d49018
Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal)
2011-06-03 13:08:21 -07:00
Nicholas Nethercote
30e92c3349
Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc.
2011-05-22 19:49:56 -07:00
Mike Hommey
3e6dabe86b
Add missing file after backout aa83abd4fd01
2011-05-22 18:09:55 +02:00
Mike Hommey
19129a5b74
Backout bug 552864, bug 632404 and bug 657297 because of leak test bustage
2011-05-22 17:52:16 +02:00
Mike Hommey
f17ef4149a
Bug 657297 part 1 - Expose a function to add telemetry samples in XRE. r=tglek,sr=bsmedberg
2011-05-22 08:23:20 +02:00
Mike Hommey
da98a37ad0
Bug 552864 part 1 - Move DLL blocklist in XRE, and inline NS_SetDllDirectory and environment sanitization, which now needs to be called manually. r=ehsan,r=bsmedberg
2011-05-22 08:22:27 +02:00
Taras Glek
5c954c3287
Bug 657709: Cleanup histogram API r=mrbkap
...
--HG--
rename : xpcom/base/nsTelemetry.cpp => xpcom/base/Telemetry.cpp
2011-05-19 19:33:05 -07:00
Taras Glek
45485fa46e
bug 585196: Cycle-collector telemetry probe r=bent
2011-05-12 11:22:25 -07:00
Nicholas Nethercote
60496a090e
Bug 653630 - Allow non-leaf reporters in about:memory. r=sdwilsh.
2011-05-11 16:09:50 -07:00
Chris Leary
e9c15c147e
Merge mozilla-central to tracemonkey.
2011-05-09 14:27:44 -07:00
Andrew McCreight
5d31eb0d55
Bug 650519. Add safe function to check gray GC mark bits, then use it. (r=gal)
...
--HG--
extra : rebase_source : bb8eeed202e30c575ff22165c0b4de591c1dcb64
2011-05-04 09:26:44 -07:00
Ed Morley
aa86759d37
Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg
2011-05-01 20:59:24 +02:00
Taras Glek
95a7a474c7
bug 649502: Expose histograms to JS r=mrbkap
2011-04-27 11:07:02 -07:00
Nicholas Nethercote
6ef173ddbb
Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin.
2011-05-03 17:12:58 -07:00
L. David Baron
ef7750436c
Make XPCOM_CC_DRAW_GRAPHS work at shutdown (in addition to working for non-shutdown collections). (Bug 652056, patch 3) r=peterv
2011-05-02 18:43:45 -07:00
Daniel Holbert
8affc3ab15
Bug 659187: Make member vars in nsMemoryReporterManager.h match ordering in constructor init list, to fix build warning. r=njn
2011-05-24 03:35:10 -07:00
Matheus Kerschbaum
35f86c76ad
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Ehsan Akhgari
8d7694ac21
Bug 642469 - Sanitize the environment variables upon startup; r=bsmedberg
2011-04-14 10:19:14 -04:00
Chris Leary
329e16e64e
Merge mozilla-central to tracemonkey.
2011-04-11 16:54:01 -07:00
Luke Wagner
5954356511
Remove implicit cycle-collector dependency on XPConnect lazy initialization broken by 59705c13d959 (rs=peterv)
2011-04-07 16:53:33 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Chris Leary
733f538571
Merge mozilla-central and tracemonkey.
2011-03-29 14:52:44 -07:00
Chris Leary
78ceed9ab7
Merge mozilla-central to tracemonkey.
2011-03-29 09:05:25 -07:00
Andrew McCreight
ff37de748d
Bug 641910. Don't add non-grey nodes to the cycle collector model graph. r=gal@uci.edu
2011-03-28 13:05:48 -07:00
L. David Baron
b2e59587e8
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Justin Lebar
7e2c5ae50d
Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
...
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Josh Matthews
ebc978f391
Bug 606592 - Make nsExceptionService practice threadsafe refcounting. r=jst
2010-10-22 17:50:28 -04:00
Rafael Ávila de Espíndola
4b8cd0c2c8
Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg
2011-03-24 19:26:55 -04:00
Olli Pettay
26c20e1988
Bug 641477 - Throw UNSPECIFIED_EVENT_TYPE_ERR if event isn't initialized before dispatching, r=sicking
2011-03-24 13:34:03 +02:00
Josh Aas
cf0327e638
Bug 641927: Fix a large number of compiler warnings in Mac OS X code. r=benwa,bsmedberg
2011-03-23 11:46:57 -07:00
Mitchell Field
b6976ca587
Merge mozilla-central to build-system.
2011-03-02 20:38:54 +11:00
Brad Lassey
4852cd6f0e
bug 635814 - add shellName and shellVersion to nsSystemInfo r=dougt a=2.0+
2011-03-01 19:32:32 -05:00
Jonas Sicking
0a21ea9298
Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner
2011-02-28 23:08:56 -08:00
Kyle Huey
7d56189a13
Merge m-c to bs.
2011-02-25 15:23:05 -05:00
bent.mozilla@gmail.com
5e450f9830
Only run CC after the GC has run at least once (bug 626768, r=gal). a=blocker
2011-02-23 00:08:36 -08:00
Doug Turner
8c2a6d9061
backout of 74a64df4f758 a=build-bustage
2011-02-24 11:21:17 -08:00
Mitchell Field
cac949ea6d
Merge mozilla-central to build-system.
2011-02-23 00:01:54 +11:00
Mitchell Field
2e8a7d546f
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
Olli Pettay
4835783840
Bug 634916 - Crash on shutdown [@ nsCycleCollector_collect] in DEBUG_CC code, r=peterv, a=NPOTB
2011-02-17 19:50:53 +02:00
Doug Turner
738a73c73f
Bug 633305 - about:memory should display memory reporters that live in the child process r=cjones a=blocking-fennec
2011-02-16 10:43:23 -08:00
Brad Lassey
0379152ea0
bug 635814 - add shellName and shellVersion to nsSystemInfo r=dougt a=2.0+
2011-02-28 11:32:05 -05:00
Doug Turner
625a17d16a
Bug 633305 - about:memory should display memory reporters that live in the child process r=cjones a=blocking-fennec
...
--HG--
extra : rebase_source : adf4e4f912ac6cab8c48b91da35e22a2b3ba0916
2011-02-16 10:43:23 -08:00
Ginn Chen
64f0f08dc4
Bug 633457 - "Firefox hangs at startup" (r=bent, a=hardblocker)
2011-02-11 20:49:00 -08:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778
Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst
2011-02-14 13:15:29 -08:00
Jacek Caban
721991561f
Bug 633820 - nsCrashOnException.cpp compilation fails to compile on mingw r=ehsan a=benjamin
2011-02-15 12:30:58 +00:00
Ehsan Akhgari
455787745c
Bug 633383 - Only walk the stack when aborting in debug builds; r=dbaron a=blocking-betaN
...
Please note that this patch only fixes possible bogus crashes in
NS_StackWalk which prevent us from getting useful abort reports.
2011-02-14 13:41:34 -05:00
Ehsan Akhgari
a6d6b2b419
Bug 589495 - Win32 native exceptions (which could be crashes) on WoW64 are not fatal; r=bsmedberg a=blocking-betaN
2011-02-11 20:56:11 -05:00
bent.mozilla@gmail.com
44d355203f
Fix DEBUG_CC (bug 615058, r=gal, a=NPOTB).
2011-02-09 17:34:22 -08:00
Ehsan Akhgari
e74c4501f8
Bug 631156 - Bug 628885 breaks non-libxul builds with an undefined reference error for CrashReporter::AppendAppNotesToCrashReport(nsACString_internal const&), r=cjones,a=roc
2011-02-03 21:43:29 +13:00
Doug Turner
bba386c412
Bug 630595 - Followup. Do not need a dash before the option. Removing unused memory watcher. r=blassey, a=blocking-fennec
2011-02-02 01:00:34 -08:00
Chris Jones
ad76d4bbbc
Bug 628885: Note in minidumps when we generate them by RUNTIMEABORT()ing. r=ted a=a
...
--HG--
extra : rebase_source : f5f0783b0bbf594cb7fd3a761bb3354b6859ecdd
2011-02-01 13:53:53 -06:00
Doug Turner
d886cf3236
Bug 624652 - Add memory watcher to reduce the chance of ooming on the Nexus S. r=mwu/cjones. a=blocking-fennec
...
--HG--
extra : rebase_source : faf23b65fe8b5c64080c1ee3f6d4794e8837097d
2011-01-19 22:14:12 -08:00
Peter Van der Beken
25c2cf795b
Fix DEBUG_CC build bustage. a=build bustage.
...
--HG--
extra : rebase_source : 5059f7704b2833c797aff4bb187402d9700c985b
2011-01-17 12:24:51 +01:00
Peter Van der Beken
9e2691dd4c
Fix orange from 77979cd6890d. a=bustage fix.
2011-01-14 15:51:43 +01:00
Peter Van der Beken
4af1d3767d
Fix for bug 621258 (Don't refcount CC listeners on the CC thread). r=bent, a=jst.
...
--HG--
extra : rebase_source : fa0c79fb25b9120ffe25da60249c8d07aaa0228f
2011-01-14 11:06:09 +01:00
Jacek Caban
c980e050a6
Bug 614631 - Macros for SEH exception depending on compiler configuration r+a=benjamin
2011-01-11 10:16:59 +00:00
Oleg Romashin
4dfd0bb775
Bug 621232 - reference to deprecated /proc/component_version r=dougt a=approval2.0
2011-01-05 15:48:19 +02:00
Doug Turner
75b6c6be75
Bug 619096 - nsMemoryReporterManager should be threadsafe. r=vlad a=mfinkle
2010-12-15 09:47:16 -08:00
Doug Turner
4f7e00379d
[Bug 604712] Add device information to nsISystemInfo for use by crash reporting and feedback addon. r=blassey a=blocking-fennec
2010-11-17 12:52:59 -08:00
Stuart Parmenter
664a22366c
Bug 613321. Backing out bug 604712 (rev 6cfd43067a07) to fix hang on Galaxy S phones. a=blocking-fennec
2010-11-20 01:02:55 -08:00
Robert Sayre
2d10c1480d
Merge tracemonkey to mozilla-centra. a=blockers.
2010-11-17 13:55:14 -08:00
Robert Sayre
f8d70b12f4
Merge mozilla-central to tracemonkey.
2010-11-16 07:25:10 -08:00
Ben Turner
fca93ac512
Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst
2010-11-11 14:52:30 -08:00
Doug Turner
fc9adeac4a
[Bug 604712] Add device information to nsISystemInfo for use by crash reporting and feedback addon. r=blassey a=blocking-fennec
...
--HG--
extra : rebase_source : 1a58215923ced152b82852b0cbd9194bde885561
2010-11-17 12:52:59 -08:00
Mike Hommey
ffc922a1d3
Bug 611405 part 2 - Avoid crash in nsMemoryReporterManager when jemalloc_stats is not available at runtime. r=bsmedberg,a=clegnitto
2010-11-17 09:56:19 +01:00
Ehsan Akhgari
eda812475f
Bug 610556 - Linker errors on shared builds with NS_SetDllDirectory; r=khuey a=bsmedberg
...
--HG--
rename : toolkit/xre/nsSetDllDirectory.cpp => xpcom/base/nsSetDllDirectory.cpp
rename : toolkit/xre/nsSetDllDirectory.h => xpcom/base/nsSetDllDirectory.h
2010-11-09 21:02:09 -05:00
Walter Meinl
48d1e8997b
Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
...
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Ben Turner
52bc9dcc50
Bug 601774 - 'IndexedDB: Audit exceptions thrown from indexedDB methods'. r=sicking, a=blocking+
2010-11-10 15:25:44 -08:00
Daniel Holbert
e0749538a3
Bug 596070: s/don't/do not/ in #warning message, to fix "missing terminating ' character" build warning. r=dougt a=dougt
2010-11-05 11:24:12 -07:00
Jory A. Pratt
b8260165be
Bug 593911 - Check for dlopen in the libc too. r=khuey a=bsmedberg
2010-11-05 18:26:51 +01:00
Andreas Gal
682ce67f2d
Re-land bug 608142.
2010-10-30 06:01:25 -07:00
Jeff Walden
27484886a8
Backed out changeset 71728ff7002c, seems to have turned mochitest-plain-2 orange.
2010-10-29 22:39:19 -07:00
Andreas Gal
4f2e656d40
Disallow sending JS functions to a different thread (608142, r=jst).
2010-10-29 15:03:44 -07:00
Chris Jones
73ffddb80a
Bug 601599: Link directly to jemalloc_stats on android. r=blassey a=blocking-fennec
2010-10-15 16:12:54 -05:00
Igor Bukanov
b8792e95c1
bug 597736 - fixing TreeFragment leak. r=gal
2010-09-21 14:58:19 +02:00
Andrew McCreight
8795ae8744
Bug 665564 - change DescribeNode to DescribeRefCountedNode to remove CCNodeType. r=bent
2011-06-23 14:10:52 -07:00
Robert O'Callahan
b096738cb6
Fix for bug 466157 (Enable dumping of cycle-collector graphs in any build). r=dbaron, a=jst.
...
--HG--
extra : rebase_source : b47d149434c735981a9a80ae6016624120fee371
2010-08-12 12:03:23 +12:00
Matt Brubeck
6de30bb9c8
Bug 580050 - Get the hardware model name on Android. r=mwu, a=blocking-fennec
2010-09-11 06:20:20 -07:00
Steve Fink
7aae2e5530
Bug 580063: Add a LatestSinceStartup() method to function timer logs. r=vlad a=benjamin
2010-09-05 16:17:02 +02:00
Doug Turner
59a14c27ff
Bug 592308. IsLowMemory() is terribly slow and there is nothing to do about it. r=bsmedberg a=blocking-fennec2.0
2010-09-02 19:02:06 -03:00
Justin Lebar
3e7e1949d1
Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg
2010-08-17 10:25:41 -07:00
Peter Van der Beken
cab0250f9d
Fix for bug 584048 (Clean up cycle collection code) - merge RootWhite and CollectWhite. r=bent.
2011-03-06 12:11:31 +01:00
Peter Van der Beken
5e9f7069fe
Fix for bug 584048 (Clean up cycle collection code) - rename RootAndUnlinkJSObjects to Root. r=bent.
2010-12-16 16:30:13 +01:00
Peter Van der Beken
5b1dbd07be
Fix for bug 603844 (Leak txUnknownHandler+ with transformToDocument(textnode)). r=sicking.
2010-12-02 11:12:27 -05:00
Matheus Kerschbaum
93480c6366
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Dão Gottwald
9389a17efd
Backed out changeset a27043cd19ff
2010-08-18 09:46:54 +02:00
Robert O'Callahan
3ea434fa14
Bug 497808. Enable dumping of cycle-collector graphs in any debug build. r=peterv,a=blocking
2010-08-12 12:03:23 +12:00
Ginn Chen
9cf4d9a752
Bug 586186 Implement RealBreak for Solaris r=doug.turner a=bsmedberg
2010-08-15 20:33:18 +08:00
Doug Turner
7c50d1ab8c
Merge from e10s clone. a=dougt
2010-08-10 18:33:38 -07:00
Brad Lassey
6dc27b33fe
bug 585873 implement RealBreak for arm r=doug a2.0=bsmedberg
2010-08-10 14:02:27 -04:00
timeless@mozdev.org
7da2840114
Bug 577921 mark DEBUG only variables as ifdef DEBUG in xpcom
...
r=bsmedberg
a=bsmedberg
a=sheriff for landing
2010-07-11 16:00:19 +03:00
Saint Wesonga
da57f5da8c
Bug 581479 - Convert C++ style comment. r=benjamin, a=comment-only
2010-08-08 17:06:35 +02:00
Chris Jones
93edacf164
Bug 583059: Make it possible to break on failed static-XPCOM-ctor/dtor checks and add an env var to make failed checks fatal. r=dbaron
2010-08-05 17:11:23 -05:00
Oleg Romashin
de506792f5
Bug 578618 - Remove high_watermark check on maemo > 5. r=dougt
...
--HG--
extra : rebase_source : 7c485016f3dab422a45426e8c970c5cac6e2cf4d
2010-08-03 10:44:47 -07:00
Robert Sayre
073bde8d2b
Merge mozilla-central to tracemonkey.
2010-07-30 21:57:41 -07:00
Peter Van der Beken
75d7cd044e
Back out debugging code for bug 500105.
2010-07-30 11:57:19 +02:00
Robert Sayre
1b744a7685
Merge mozilla-central to tracemonkey.
2010-07-20 15:07:03 -07:00
Andreas Gal
c8091508b9
Support independent cycle collection and garbage collection (573175, r=jst).
2010-07-19 23:31:01 -07:00
Andreas Gal
4b4fb2fced
Move the cycle collector out of the GC callback (573060, r=peterv).
2010-07-15 18:08:47 -07:00
Andreas Gal
852209f576
Bug 579524 - DEBUG_CC broken by fatval. r=sayrer
2010-07-16 20:41:28 -07:00
Andreas Gal
483a33d003
Backed out bug 573060.
2010-07-15 14:14:26 -07:00
Andreas Gal
124d968d35
Move the cycle collector our of the GC callback (573060, r=peterv).
2010-07-15 10:30:37 -07:00
Luke Wagner
99411cc93d
Bug 549143 - fatvals
2010-07-14 23:19:36 -07:00
Saint Wesonga
e7a357dcaf
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Josh Aas
696ca35c5d
Provide API in xpcom macutils for determining universal binary type. b=572125 r=benwa
2010-07-15 22:32:00 -04:00
Benjamin Smedberg
39676523ac
Bug 573268 - The XPTI rewrite caused an (intentional) leak at shutdown; free this data only in trace-malloc builds so that leakstats are still useful. r=dbaron
2010-07-14 13:09:42 -04:00
Mitchell Field
eb1e793da7
Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
...
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
4d172dd53d
Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691.
2010-07-01 11:55:57 -04:00
Benjamin Smedberg
d9a041918c
Revert accidental change introduced in revision c66d8c0db184.
2010-06-25 22:16:15 -04:00
Benjamin Smedberg
5b4541cfe9
Fix chrome registry test setup.
2010-06-25 20:53:20 -04:00
Benjamin Smedberg
63c0077443
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Benjamin Smedberg
202aa47626
Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly.
2010-06-22 12:59:57 -04:00
Benjamin Smedberg
45af085fff
Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
...
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
9045c05660
Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files
2010-06-10 14:11:11 -04:00
Eli Friedman
622dc3dd3c
Bug 573210 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron
2010-06-30 23:11:43 +02:00
Dão Gottwald
b314909c2e
Backed out changeset db6f8068e9a5
2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg
2010-06-29 17:14:36 +02:00
Jacek Caban
bc7f2875ac
Bug 569547 - fastcall useless on win64. r=benjamin
2010-06-14 12:12:48 +02:00
Jason Orendorff
84db361ea4
Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst.
2010-06-18 15:29:21 -05:00
Jacek Caban
7393907967
Bug 569586 - XPCOM compilation failure on mingw-w64 due to pointer to int cast loosing precision. r=benjamin
...
--HG--
extra : rebase_source : e4d0b0b110992af5f397aea52c36a5f5ed9f56c5
2010-06-25 14:02:24 +02:00
Philip Prindeville
bf66838148
Bug 529921 browser part. Implement core support for RFC-2597/2598/3168 Quality-of-Service (DSCP) marking. r=biesi
2010-06-02 22:25:01 -04:00
Michael Wu
f6b9e6e472
Bug 561464 - Add support for XPCOM on Android, patch mostly by vlad, r=bsmedberg
2010-06-01 12:02:42 -07:00
Chris Jones
2a2ad8a179
Bug 557935: Show jemalloc stats in about:memory on linux. r=vlad
2010-05-26 14:40:52 -05:00
Robert Sayre
def349ad75
Merge mozilla-central to tracemonkey.
2010-05-24 09:05:39 -07:00
Robert Sayre
13c247559e
Merge mozilla-central to tracemonkey
2010-05-17 13:55:37 -04:00
Vladimir Vukicevic
dea7fa4278
b=566467; add win32 core memory reporters; r=jmathies
2010-05-20 22:58:53 -07:00
Ehsan Akhgari
a87b134220
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Chris Jones
4567048351
Bug 564185: Centralize the breakpad-triggering abort code in mozalloc and use |*NULL| to abort on mac, since abort() doesn't trigger breakpad. r=ted
2010-05-18 20:53:52 -05:00
Jason Orendorff
ee50fdd206
Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
...
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Ginn Chen
9df652824c
Bug 539188 Fix jemalloc linkage for Solaris, revert Bug 534848 r=ted.mielczarek
2010-05-06 13:49:27 +08:00
Jonas Sicking
26eb9625c3
Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst
2010-04-30 12:40:59 -07:00
Mitchell Field
9818f00bf2
Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov
2010-04-29 18:59:13 +02:00
Vladimir Vukicevic
e3731a1e45
b=560647; basic start-to-end startup instrumentation and some fixes; r=bz a=coop
2010-04-26 11:13:03 -07:00
Neil Rashbrook
176e5fc212
Bug 538964 Provide doQueryObject API that supports calling QueryInterface on non-interface source and/or destination pointers r=dbaron
...
--HG--
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/TestRefPtr.cpp
2010-04-25 12:06:42 +01:00
Vladimir Vukicevic
56684f1c17
split out declarations to work around MSVC bug
2010-04-20 14:44:39 -07:00
Vladimir Vukicevic
3ce92fdab6
b=480735; add infrastructure for simple timeline logging; r=bsmedberg
2010-04-20 00:04:42 -07:00
Chris Jones
cedd844205
Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg
2010-04-20 15:12:02 -05:00
Julian Seward
4a8eff8ae8
Bug 547964 - r=dbaron
...
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Daniel Holbert
aa1625764a
Bug 557559: Handle enum value NS_ASSERT_UNINITIALIZED in switch statement, to fix build warning. r=bsmedberg
2010-04-08 12:26:29 -07:00
Chris Jones
da9eaa48df
Bug 550401: Do the __declspec import/export dance in mozalloc to avoid MSVC warnings. r=bsmedberg
2010-04-08 13:05:02 -05:00
Karl Tomlinson
88220b6f55
b=551860 Don't break on NS_DebugBreak(NS_DEBUG_ABORT, ...) r=cjones
2010-03-24 16:39:15 +13:00
timeless@mozdev.org
a590ecea7d
Bug 550198 nsMemoryImpl::FlushMemory returns rv uninitialized if !aImmediate and PR_IntervalToMicroseconds(now - sLastFlushTime) <= 1000
...
r=bsmedberg
--HG--
extra : rebase_source : 60094ce8f7f09bb5a5fcd9f16f8cadccde6d0ae9
2010-03-12 07:50:11 +01:00
Chris Jones
dda6d9e99e
Bug 441324, part 4: Enable infallible operator new (leaving malloc fallible) in Gecko, and play well with the wince shunt. r=bsmedberg r=blassey r=vlad
2010-03-03 23:02:58 -06:00
Jonas Sicking
8e86b28780
Bug 549743: Abort if cycle collected object is refcounted from threads other than the main thread. Such refcounting will randomly cause leaks and crashes anyway, so better crash up front to make sure developers notice. r=dbaron
2010-03-02 16:04:34 -08:00
Robert O'Callahan
ae2d325921
Bug 534425. Part 3: Make nsRefPtr be more lenient about initializing from an already_AddRefed. r=bsmedberg
2010-03-01 20:56:18 +13:00
timeless@mozdev.org
0c5fea1c77
Bug 503638 OOM crash [@ PL_DHashTableOperate | _MD_CURRENT_THREAD] in nsCycleCollector
...
r=dbaron
2010-02-28 11:23:59 +01:00
Neil Rashbrook
dfd69c61aa
Bug 545730 Add nsRefPtr overload for CallQueryInterface r=dbaron
2010-02-27 16:01:53 +00:00
Oleg Romashin
3f2d038d99
Bug 547008 - osso-mem.h in nsMemoryImpl.cpp is not used, and should be removed. r=dougt
...
--HG--
extra : rebase_source : 35638f5dd120786826ee0f9891e3d00940bbb037
2010-02-19 00:04:39 +02:00
Oleg Romashin
3f39c8a245
Bug 540545 - NS_ERROR is very annoying in X86 maemo builds. r=dougt
...
--HG--
extra : rebase_source : 3355bf2092ded94c75bc733f2c36c51428dd53ef
2010-02-18 23:52:54 +02:00
Doug Turner
c5fb72ab64
Bug 543976 - Clean up Maemo defines. r=ted
2010-02-09 11:02:11 -08:00
Benjamin Smedberg
30bd4e4e51
Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
...
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Benjamin Smedberg
d62f1fe600
But 535564 part 3 - don't inherit leak/bloat log handles from parent to child processes on Windows: the Java plugin spawns a process which can remain after our Firefox/plugin processes are properly cleaned up, preventing the log files from being closed, r=jgriffin over IRC
...
--HG--
extra : rebase_source : 413e125c087f8e8c37f9f3dec372521e709760e5
2010-01-27 11:19:50 -05:00
L. David Baron
d0b883e1b0
Make GraphWalker use templates instead of virtual functions. (Bug 537547) r=smaug
2010-01-12 08:51:39 -08:00
Chris Jones
2050fcae22
Bug 529134: Initialize tracemalloc in NS_LogInit() to ensure that tracemalloc is always thread safe. r=bsmedberg r=dbaron
2009-12-29 16:45:59 -06:00
Jonas Sicking
b7071bfb1d
Skidmark for bug 524944 r=bsmedberg
2009-12-17 21:54:02 -08:00
Jonas Sicking
b8149289a3
Backed out changeset 4c88c8839a46 due to redness
2009-12-17 22:34:52 -08:00
Jonas Sicking
f3a8c685bd
Skidmark for bug 524944 r=bsmedberg
2009-12-17 21:54:02 -08:00
Benjamin Smedberg
ffeebc91f0
Merge mozilla-central into electrolysis
2009-12-16 08:38:42 -05:00
timeless@mozdev.org
c3279c224a
Bug 535106 solaris nsTraceRefcntImpl.cpp Error: Overloading ambiguity between "nsACString_internal::AppendInt(int)" and "nsACString_internal::AppendInt(unsigned)".
...
hi
r=smaug
2009-12-16 14:50:07 +01:00
Ginn Chen
0d957f8b7f
Bug 534848 enable about:memory for Solaris r=vlad
2009-12-16 19:23:17 +08:00
Chris Jones
d00615ff66
bug 534922: quick and dirty hack to make NS_RUNTIMEABORT trigger the crashreporter on windows. r=bsmedberg
2009-12-15 15:40:30 -06:00
Benjamin Smedberg
767eb11cb4
Merge mozilla-central into electrolysis
2009-12-04 11:28:50 -05:00
Peter Van der Beken
1ab8a39a5f
Make sure debugging code for topcrash bug 500105 brings up breakpad. r=dbaron.
2009-12-03 12:23:06 +01:00
Ben Turner
80295bdca8
Fix link warnings on windows
2009-11-25 15:41:58 -05:00
Ben Turner
1c22d5c47e
More better awesome trap on debug builds when we try to abort
2009-11-12 12:04:58 -08:00
Ben Turner
5c6304af69
Make NS_DebugBreak trap as well as abort in debug builds
2009-11-12 11:44:25 -08:00
Benjamin Smedberg
17cf638aac
Merge mozilla-central into electrolysis.
2009-11-11 12:35:42 -05:00
Jonathan Griffin
a29a4e5e3a
Bug 519570. Fix build bustage on non-IPC builds.
2009-11-10 11:39:42 -08:00
Jonathan Griffin
ffd9106373
Bug 519570. Log leaks for child processes in separate files, and handle them in automation.py. r=bsmedberg
2009-11-10 11:16:12 -08:00
Doug Turner
b53a9f49d2
Fixing comment in nsMemoryImpl.cpp
2009-12-01 12:29:55 -08:00
Doug Turner
d49c4c0a30
Bug 532039 - Improve perf of IsLowMemory. r=bsmedberg.
2009-12-02 00:24:19 -08:00
Benjamin Smedberg
43b1c28f44
Bug 526586 - XULRunner crashes on startup on Windows r=bustage fix and at least agreement on the approach from dbaron
2009-11-09 14:30:01 -05:00
Marco Bonardo
b6e2e48df0
Bug 525245 - system-info should expose hardware specs to JS consumers, r=bsmedberg
2009-11-04 15:41:37 +01:00
Justin Dolske
62eb5c6518
Bug 525323 - Windows CE ux/perf regression between Alpha 2 and Beta 1.
2009-10-30 22:39:30 -07:00
L. David Baron
65cb93a64c
Add operator->* to nsAutoPtr and nsRefPtr. (Bug 525205) Pending review, but fixes bustage for a bunch of people.
2009-10-29 21:04:32 -07:00
Benjamin Smedberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
699dcb26a7
Add runtime NS_IsMainThread checks to protect the cycle collector's purple buffer, and make NS_IsMainThread faster on our major platforms. (Bug 521750) r=peterv
2009-10-28 10:28:57 -07:00
Benjamin Smedberg
7d138d4786
Make NS_IsMainThread faster on our major platforms. (Bug 521750) r=dbaron
2009-10-28 10:28:57 -07:00
Peter Van der Beken
e7c0714f81
Add temporary debugging code to help figure out top crash bug 500105, part 2. r=dbaron.
2009-10-07 17:44:28 -07:00
Peter Van der Beken
c55812fbbb
Add temporary debugging code to help figure out top crash bug 500105, part 1. r=dbaron.
2009-10-27 13:38:18 +01:00
Dave Townsend
3771e35013
Bug 526635: Interfaces changed on the 1.9.2 branch with no IID rev. r=enn, r=vlad, r=josh, r=mak77, r=ted, r=roc
2009-11-06 11:31:22 -08:00
Doug Turner
a116a29917
Bug 524339 - Close file after reading system info. r=blassey
2009-10-25 20:29:35 -07:00
Doug Turner
195c21873d
Expose device type in user agent. r=vlad
2009-10-24 23:09:46 -07:00
L. David Baron
f58e5b8427
Backed out changeset d6add78eff55 (Increase maximum collections at shutdown from 5 to 10 to see if it fixes the leaks on Windows mochitests 2/5).
2009-10-23 00:47:27 -04:00
L. David Baron
de8e4a44ba
Increase maximum collections at shutdown from 5 to 10 to see if it fixes the leaks on Windows mochitests 2/5.
2009-10-22 18:08:57 -04:00
Daniel Holbert
16d6c9d4d9
Bug 521677: Use fputs instead of printf/fprintf in a few cases, to fix "format not a string literal and no format arguments" build warnings. r=dbaron
2009-10-19 08:03:00 -07:00
Doug Turner
6899b5bd8c
Bug 522060 - Increase IsLowMemory threshold WINCE only. r=blassey
...
--HG--
extra : rebase_source : 378b456f1770bc1960fc8e1416272068f3b9f921
2009-10-13 14:06:36 -07:00
Reed Loden
40e598e43f
s/commited/committed/
2009-10-07 09:54:08 -05:00
Vladimir Vukicevic
6912d252f4
b=515354; Implement "about:memory"; r=mconnor
2009-10-03 00:21:34 -07:00
Chris Jones
08de77b6a4
Backed out changeset 8cbc47eee659
2009-10-02 18:09:08 -05:00
Chris Jones
3e5fef214c
bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad
2009-10-01 21:50:09 -05:00
Phil Ringnalda
e62c83fdc6
Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted
2009-09-18 19:59:53 -07:00
Benjamin Smedberg
50d59bbf8a
Bug 500870 - NS_OVERRIDE indicates that a method must override a base-class method, r=taras
...
--HG--
extra : rebase_source : 3dc3327030dc2cdf45bdd9170c5e9d02908c0d0c
2009-09-04 11:21:31 -04:00
Doug Turner
b8b38e1532
Bug 516769 - WINCE IsLowMemory fixups. r=vlad
2009-09-15 13:29:57 -07:00
Doug Turner
c9d9c9ccf3
Bug 516699 - Increase the interval between low-memory notifications. r=vlad
2009-09-15 11:33:53 -07:00
Mitchell Field
9bf8383b06
Bug 513924 - "remove tons of options from configure" [r=ted.mielczarek r=benjamin]
...
--HG--
extra : rebase_source : 2ca44f54f550507248b41c69c883090c389db419
2009-09-15 13:06:32 -04:00
Doug Turner
fe75f1a622
Bug 475595 - IsLowMemory cleanup. Removes comment. r=vlad
2009-09-15 09:28:53 -07:00
Doug Turner
f1f599503a
Bug 475595 - IsLowMemory cleanup. Enables predicate on WINCE. Removes memory flusher thread. r=vlad
...
--HG--
extra : rebase_source : 46f21bdc6111efa264a9bd621440449dab5ac96d
2009-09-14 20:11:30 -07:00
Zack Weinberg
17eb5a6efc
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Benjamin Smedberg
0df64c6bc4
Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
...
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
timeless@mozdev.org
6d0c08aead
Bug 507604 undeprecate the scriptable nsIDebug interface
...
r=bs sr=biesi
2009-08-26 18:28:11 +02:00
Robert Sayre
9eda7abe2f
Merge tracemonkey to mozilla-central.
2009-08-25 09:52:56 -07:00
Benjamin Smedberg
2e9438fd2f
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Andreas Gal
81c28c4fe8
Notify JS_CommenceRuntimeShutdown from CycleCollector (511522, r=graydon).
2009-08-19 15:13:02 -07:00
Hashem Masoud
c8f711113e
Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin
2009-08-14 16:09:00 +02:00
Makoto Kato
815f6cdd90
Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg
2009-07-24 19:11:23 +09:00
Blake Kaplan
c333b464ab
Bug 502687 - GCGraphBuilder::AddNode crashes on OOM. r=dbaron
2009-07-16 13:06:48 -07:00
L. David Baron
9a8d97752d
Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv
2009-07-08 18:10:29 -07:00
L. David Baron
7f0a460c49
Expose the cycle collector language runtimes so that other code can do cycle collection traversal. (Bug 500317) r+sr=peterv
2009-07-08 18:10:29 -07:00
Peter Van der Beken
8291a79679
Fix for bug 492324 ("ASSERTION: wrong entry" during cycle collection (nsXBLDocumentInfo)). r=dbaron, sr=jst.
...
--HG--
extra : rebase_source : ea5eb556d1fe86b42ede4a0515e0c4c06544117b
2009-06-01 21:22:18 +02:00
Josh Aas
f6225a28af
Make Objective-C exceptions non-fatal by default on Mac OS X. b=486574 r=roc sr=bz
2009-05-20 11:53:24 -04:00
Peter Van der Beken
e267b828d9
Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
2009-05-07 11:19:36 -07:00
Peter Van der Beken
d7f8357ac2
Backed out changeset 0c8d4f846be8 (Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly).) to try to fix Tshutdown regression.
2009-05-16 16:16:55 +02:00
Peter Van der Beken
b865be6ac9
Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
...
--HG--
extra : rebase_source : 459f24ea980bf4cab29bc88115138f6ed5144e49
2009-05-07 11:19:36 -07:00
Shawn Wilsher
46166ad09a
Bug 489705 - nsRefPtr should be able to forget a base class to a pure virtual interface it inherits from
...
r=bsmedberg
sr=dbaron
2009-05-07 15:13:18 -04:00
L. David Baron
5efb37b7c1
Make cycle collector's purple buffer consist of entries that the objects in the purple buffer can point to, and remove the notion of scan delay (which was previously set to 0). (Bug 490695) r+sr=peterv r=bsmedberg
2009-05-06 13:46:04 -07:00
L. David Baron
a8fbab994c
Use the purple buffer in ExplainLiveExpectedGarbage. (Bug 488603) r+sr=peterv
2009-04-24 15:45:34 -07:00
L. David Baron
1d193a2b78
Reverse the meaning of suspectCurrentCount and rename it to expectedGarbageCount. (Bug 488603) r+sr=peterv
2009-04-24 15:45:34 -07:00
L. David Baron
23e03f54d1
When we print warnings about objects that should have been collected, see if they're in the purple buffer and print different warnings if they are. (Bug 488603) r+sr=peterv
2009-04-24 15:45:34 -07:00
Chris Jones
002151e9b2
Bug 58904: Create strong types for synchronization primitives. r=bsmedberg.
2009-04-18 18:54:23 -07:00
Arpad Borsos
07dc31e45f
Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg
2009-04-14 10:02:58 +02:00
Neil Rashbrook
4b764649a6
Bug 484309 fixing more allocator mismatches r+sr=bsmedberg
2009-04-11 17:33:52 +01:00
L. David Baron
f7ae1d711b
Make nsTraceRefcnt use 64-bit counters when those counters are for all objects over app lifetime. (Bug 483500) r=bsmedberg
2009-04-10 13:30:10 -07:00
Peter Van der Beken
5832c7c26e
Fix for bug 423473 (Cycle collector should restart after getting a fault). r/sr=jst.
...
--HG--
extra : rebase_source : fd82c02bef434c36383df0862af2399455caa65b
2009-04-09 14:02:48 +02:00
Arpad Borsos
e79293b2c0
Bug 474369 - get rid of nsVoidArray, xpcom part; r=bsmedberg
2009-04-03 18:43:08 +02:00
Neil Rashbrook
031c516b05
Fix allocator abuses: bug 331165 r+sr=bsmedberg; bug 484309 r+sr=bsmedberg; bug 484312 r+sr=biesi
2009-03-25 13:19:08 +00:00
Makoto Kato
64ceec236c
Bug 475229 - xpcom/base/nsStackWalk support for Windows x64. r=benjamin
2009-03-22 12:53:47 +09:00
Serge Gautherie
e83b8a40bc
Bug 229442 - </xpcom/base/nsError.h> NS_SUCCEEDED() code cleanup; (Av3) <nsError.h> whitespace cleanup ++; r=doug.turner
2009-03-13 15:51:27 +01:00
Robert O'Callahan
9d8186e0e0
Bug 478195 - '[Mac] Same-thread deadlock with trace-malloc (causing random red on OS X 10.5.2 mozilla-central leak test build)'. r=dbaron.
2009-02-17 21:11:29 -08:00
Vladimir Vukicevic
1fcfb69c85
b=475595; disable IsLowMemory on Windows CE until we can fix it to be correct/performant; r=dougt
2009-02-11 18:26:27 -08:00
Vladimir Vukicevic
d8b5259f62
b=477727; remove CoCreateGuid usage on WinCE; r+sr=stuart
2009-02-10 15:10:07 -08:00
Robert O'Callahan
e4d777c4ce
Bug 475023. Fix DEBUG_CC compilation for nsCStringArray removal. r+sr=roc
...
--HG--
extra : rebase_source : e217b220febb4a5770efb562580210992fa88126
2009-01-30 20:16:16 +13:00
Daniel Holbert
2a7d88e05a
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00
Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
...
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
timeless@mozdev.org
ba41e71939
Bug 472097 xul!nsMemoryImpl::IsLowMemory is broken on systems w/ lots of vm, r=bsmedberg
2009-01-15 20:02:21 -08:00
L. David Baron
a59b1cf8db
Only run assertion checks in DEBUG builds. (Bug 472557) r=Waldo,bsmedberg
2009-01-13 11:50:40 -08:00
L. David Baron
1c70e13d0d
Expose the number of assertions since process start from XPCOM. (Bug 472557) r=bsmedberg
2009-01-08 13:50:21 -08:00
Steven Michaud
376bb811ac
Avoid crashing on non-fatal Objective-C exceptions caused by a 10.4-only Apple bug. b=461381 r=josh sr=roc
2008-12-10 15:42:00 -06:00