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
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
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