Andrew McCreight
6b569dc7df
Bug 938407 - Null check FinishReportingCallback::mFinishDumping. r=froydnj
2013-12-02 13:11:43 -08:00
Jan Beich
90c93518d9
Bug 945046 - Implement private and vsize-max-contiguous reporters on FreeBSD. r=njn, r=glandium
2013-12-02 12:51:27 -05:00
Jan Beich
1e68373812
Bug 945046 - Move private, vsize-max-contiguous class implementation under their own ifdef. r=njn
2013-12-02 12:51:26 -05:00
Aaron Klotz
fc6cc3bdcf
Bug 944529: Obtain HDD info for GRE path and Windows directory; r=froydnj
2013-12-02 10:41:44 -07:00
Ryan VanderMeulen
af07355144
Merge m-c to inbound.
2013-12-02 10:34:41 -05:00
Carsten "Tomcat" Book
27c3bf7bf5
merge mozilla-inbound to mozilla-central
2013-12-02 12:41:55 +01:00
Brian R. Bondy
16f1fc16bd
Bug 944434 - Updates from Desktop launch Metro to perform the update. r=emtwo
2013-11-29 07:24:55 -05:00
Carsten "Tomcat" Book
aa2c8950fa
merge fx-team to mozilla-central
2013-11-29 10:13:09 +01:00
Masatoshi Kimura
c9f185abca
Bug 942402 - Add version test functions for Thunderbird. r=jimm
2013-12-03 00:01:48 +09:00
Marina Samuel
c4016d3e33
Bug 934032 - Add View on Metro feature to Desktop Firefox in Australis. r=bbondy
2013-11-19 13:06:58 -05:00
Catalin Iacob
a87d623970
Bug 819839 - Part 1 - Allow NS_StackWalk to be called during static initialization on Windows. r=ehsan
2013-11-29 16:08:43 +01:00
Nicholas Nethercote
6a89146a7a
Bug 936964 (part 3, attempt 2) - Make nsCycleCollector ref-counted. r=mccr8.
...
--HG--
extra : rebase_source : ebda496b8cba0464280eb0dc7bae9aca137e2e25
2013-11-25 15:57:53 -08:00
Nicholas Nethercote
374aa9dfb5
Bug 943660 (attempt 2) - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8.
...
--HG--
extra : rebase_source : 4381c3c424e34198b83c45fa0ac0d9a670bab2b8
2013-11-26 18:38:50 -08:00
Nicholas Nethercote
c82c609ac3
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
6220f98ec6
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
ea458181f9
Bug 936964 (part 3) - Make nsCycleCollector ref-counted. r=mccr8.
...
--HG--
extra : rebase_source : f781c197b20354eda4622d436d5ef3429ce2481b
2013-11-25 15:57:53 -08:00
Nicholas Nethercote
f3b13f559e
Bug 943660 - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8.
...
--HG--
extra : rebase_source : f2ccff7972d7161e2290fd3db70463524c55f230
2013-11-26 18:38:50 -08:00
Bobby Holley
6fe30b5795
Bug 911303 - Remove manual Destroy() routine from CycleCollectedJSRuntime. r=billm
2013-11-27 10:10:25 -08:00
Andrew McCreight
0b7c3e2a77
Bug 937966 - Clean up scan safe assertion in Suspect. r=smaug
2013-11-26 17:30:46 -05:00
Andrew McCreight
eaa17634f8
Bug 931738 - Remove nsPurpleBufferEntry from nsISupportsImpl.h. r=smaug
2013-11-26 14:29:59 -05:00
Ehsan Akhgari
59726a6996
Bug 942635 - Build dom/ipc in unified mode; r=bzbarsky
2013-11-26 11:39:19 -05:00
Benjamin Smedberg
09c0296c7a
Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj
...
--HG--
extra : rebase_source : f84278dfbba92c6d75458b525a559b6f8598500f
2013-11-25 15:06:17 -05:00
Wes Kocher
be1ec20396
Merge fx-team to m-c
2013-11-21 19:16:50 -08:00
Ehsan Akhgari
83e2251f24
Bug 941739 - Print the current process and thread information on XPCOM assertions and string leaks stats; r=froydnj
2013-11-21 14:17:35 -05:00
Chris Kitching
43102ed4c2
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Carsten "Tomcat" Book
04f396a0c7
merge mozilla-inbound to mozilla-central
2013-11-21 14:20:21 +01:00
Nicholas Nethercote
1eb09100dc
Bug 940069 - Backout a temporary debugging printf that runs on --enable-valgrind builds only, because it has served its purpose. r=me.
2013-11-20 00:27:00 -08:00
Alexander Surkov
a2c0e69c2e
Bug 935698 - isolate nsIAccessibleValue implementation into separate class, r=tbsaunde
2013-11-19 16:01:15 -05:00
Andrew McCreight
08b67b0ec5
Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug
2013-11-20 14:35:17 -08:00
Andrew McCreight
4d92c18b57
Bug 935721, part 9 - Move mPtrToNodeMap into GCGraph. r=smaug
...
With ICC, we may have to remove things from the graph after we have finished building
the graph, so move the mapping to graph addresses into the graph itself to create a
more self-contained structure.
2013-11-20 14:35:17 -08:00
Andrew McCreight
109f8fb1a3
Bug 935721, part 8 - Add a reference to the graph to the graph builder. r=smaug
...
This moves towards letting the CC graph outlive the builder.
2013-11-20 14:35:16 -08:00
Andrew McCreight
3d8b9e987d
Bug 935721, part 7 - Inline PrepareForCollection into BeginCollection. r=smaug
...
PrepareForCollection is trivial now, so just inline it.
2013-11-20 14:35:16 -08:00
Andrew McCreight
9c3c29695f
Bug 935721, part 5 - Invert the control flow of CycleCollectNow's pre- and post-collection work, add CCResults as a field on the CC. r=smaug
...
nsJSEnvironment::CycleCollectNow does work before and after a CC runs. With ICC, nsJSEnv won't
know where in the CC when a CC is about to begin or end, so this patch reorganizes that work
into two separate callback hooks. This requires adding a new struct, CycleCollectorStats, to
hold data nsJSEnv needs between the two calls.
Rather than trying to pass around a pointer to a results structure, this patch just adds
it to the nsCycleCollector struct, and always stores them. The results are passed back
to the end CC callback.
2013-11-20 14:35:16 -08:00
Andrew McCreight
c277987d70
Bug 935721, part 4 - Allocate white nodes array in CollectWhite. r=smaug
...
The white nodes array is only used in CollectWhite, so just allocate it there.
2013-11-20 14:35:16 -08:00
Andrew McCreight
1f195eaf59
Bug 935721, part 3 - Use RAII to set mScanInProgress, hoist out MarkRoots and ScanRoots. r=smaug
...
With ICC, mScanInProgress gets set and cleared a bunch of times so add an RAII class to turn
it on when we're doing stuff and clear it when we're not.
With that in place, we can easily move MarkRoots and ScanRoots out of BeginCollection
in preparation for making them separate phases in ICC.
2013-11-20 14:35:16 -08:00
Andrew McCreight
95a4e63f9c
Bug 935721, part 2 - Allocate GCGraphBuilder on the heap. r=smaug
...
With ICC, the graph builder must persist across invocations of the CC,
so store it on the heap.
2013-11-20 14:35:15 -08:00
Andrew McCreight
bcec4369fd
Bug 935721, part 1 - Store the listener pointer on the nsCycleCollector data structure. r=smaug
...
With ICC, the listener must persist across invocations of the CC, so store it on the CC.
2013-11-20 14:35:15 -08:00
Benjamin Smedberg
f2456d8d28
Bug 672843 part D - make NS_ERROR_INVALID_POINTER an alias of NS_ERROR_INVALID_ARG, r=froydnj
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
dca2c2b5ab
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
d866f6b84f
Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj
2013-11-19 16:27:36 -05:00
Ryan VanderMeulen
7627a06670
Merge inbound to m-c.
2013-11-19 13:21:57 -05:00
Nicholas Nethercote
bcdbb4d8cc
Bug 940069 - Land a temporary debugging printf that runs on --enable-valgrind builds only, because Valgrind runs aren't available on tryserver. r=me.
2013-11-18 23:13:15 -08:00
Mike Hommey
931cb49886
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Ehsan Akhgari
fbd7944f83
Bug 936912 - Build xpcom in unified mode; r=froydnj
2013-11-18 21:34:00 -05:00
Chris Peterson
dcc635e27f
Bug 939576 - Build netwerk/protocol/http in unified mode. r=mcmanus
2013-11-16 21:19:51 -08:00
Phil Ringnalda
8040aa67c9
Backed out 4 changesets (bug 672843) for xpcshell bustage
...
Backed out changeset bbb7760083ae (bug 672843)
Backed out changeset eaf2fd75d7fc (bug 672843)
Backed out changeset eb08cc206b8d (bug 672843)
Backed out changeset 6a0e4afd52ab (bug 672843)
2013-11-19 14:38:29 -08:00
Nicholas Nethercote
6e8b08087a
Bug 939385 (part 4, attempt 2) - Rename some distinguished amount functions. r=froydnj.
...
--HG--
extra : rebase_source : fc5a8b80752156cf8d13908eb2f961d75a954126
2013-11-18 22:37:39 -08:00
Nicholas Nethercote
5ac5ff98eb
Bug 939385 (part 3, attempt 2) - Expose vsizeMaxContiguous to about:memory. r=froydnj.
...
--HG--
extra : rebase_source : 2a7dcf2121c323bb37094b23e329c322f25dfeeb
2013-11-18 22:37:38 -08:00
Nicholas Nethercote
929427fdc2
Bug 939385 (part 1, attempt 2) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj.
...
--HG--
extra : rebase_source : e5bdf43ab2a228f3ade93e803988f81d4f3a646e
2013-11-18 22:24:12 -08:00
Benjamin Smedberg
0140684515
Bug 672843 part D - make NS_ERROR_INVALID_POINTER an alias of NS_ERROR_INVALID_ARG, r=froydnj
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
8aa4ac11fd
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
9890b5ef50
Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj
2013-11-19 16:27:36 -05:00
Carsten "Tomcat" Book
2d619fa437
Backed out changeset a06dd3421421 (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE
2013-11-19 11:48:01 +01:00
Carsten "Tomcat" Book
679c3d1ba5
Backed out changeset 65048ac4ae6f (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE
2013-11-19 11:47:41 +01:00
Carsten "Tomcat" Book
c2aeeff612
Backed out changeset 027fced104dc (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE
2013-11-19 11:47:30 +01:00
Nicholas Nethercote
f6d384fd81
Bug 939385 (part 4) - Rename some distinguished amount functions. r=froydnj.
...
--HG--
extra : rebase_source : 7aa40beaaf9f025f361d0a570a2f35d582a151c5
2013-11-18 22:37:39 -08:00
Nicholas Nethercote
3172e67ca2
Bug 939385 (part 3) - Expose vsizeMaxContiguous to about:memory. r=froydnj.
...
--HG--
extra : rebase_source : 77331283b56ddf28a137a0165ef9926d6e0f0f42
2013-11-18 22:37:38 -08:00
Nicholas Nethercote
69cab6b84b
Bug 939385 (part 1) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj.
...
--HG--
extra : rebase_source : 3c364af0442eeabd5951370792f1a467eaa86994
2013-11-18 22:24:12 -08:00
Nathan Froyd
293931c0cd
Bug 939137 - part 1 - add largestContiguousVMBlock attribute to nsIMemoryReporterManager; r=bsmedberg
2013-11-15 13:04:43 -05:00
Olli Pettay
721a4ec61c
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
2013-11-12 15:53:51 +02:00
Wes Kocher
7a98b79072
Backed out changeset 3d769520a0be (bug 937303) for build bustage
2013-11-11 14:50:00 -08:00
Olli Pettay
f6aefae288
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
...
--HG--
extra : rebase_source : 48545d4c83d88f34773ca84e542aa13316ca38c6
2013-11-12 00:12:00 +02:00
Birunthan Mohanathas
192d1ba4c1
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
2013-11-11 14:17:14 -05:00
Olli Pettay
db10fb4abb
Bug 936789 - Faster CC logger, r=mccr8
2013-11-09 23:15:44 +02:00
Markus Stange
f4088ca44b
Bug 936074 - Fix nsIHandleReportCallback typo. r=njn.
...
Affects DMD-only builds so DONTBUILD.
--HG--
extra : rebase_source : 3fa91414cd99bca0490682c2619e84cc62e4b1e2
2013-11-08 14:48:31 +11:00
Andrew McCreight
f2b04a12d6
Bug 934568 - Don't make ScanRoots CC OOM assertion fatal due to Win7 debug M2 failures. s=smaug
2013-11-06 16:58:13 -08:00
Andrew McCreight
1b9cc2e51b
Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz
2013-09-26 16:18:27 -07:00
Nicholas Nethercote
b9e0d05f7e
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Nicholas Nethercote
a277702631
Bug 929797 - Implement proper memory reporting for child processes. r=khuey.
...
--HG--
extra : rebase_source : f0788757afc2097830295170120e1e2094993cc7
2013-10-22 22:26:24 -07:00
Benoit Jacob
0e5debd55a
Bug 934568 - Make cycle collector OOM assertions fatal in debug builds. r=mccr8
2013-10-27 07:51:31 -04:00
Kyle Huey
90d7e97201
Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz
2013-11-05 22:16:25 +08:00
Jonas Finnemann Jensen
698b895a6f
Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa
...
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-11-05 07:45:20 -05:00
Chris Peterson
6891a65cbf
Bug 933124 - Fix -Wformat warning in nsObjcExceptions.h. r=dougt
2013-10-29 21:04:41 -07:00
Aaron Klotz
9a6fd4ca6c
Bug 827416: Adds profileHDDModel and profileHDDRevision to nsSystemInfo; r=bbondy
...
--HG--
extra : rebase_source : b0d012c1f2767b0002e3daa87294eb675cf8e29b
2013-11-01 16:54:25 -06:00
Daniel Holbert
17bbc689ce
Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg
2013-10-31 19:39:03 -07:00
Nicholas Nethercote
218c25cdbc
Bug 930851 (part 3) - Use |data| instead of |closure| for some callback environment arguments. r=mccr8.
...
--HG--
extra : rebase_source : a96709da6d9a880a03e2e79149ba0e3558b4a355
2013-10-24 21:39:16 -07:00
Nicholas Nethercote
3a359b4bb5
Bug 930851 (part 1) - Make child process naming consistent in both memory reporting paths. r=khuey.
...
--HG--
extra : rebase_source : 6c212dd1ddc701af8297a6de373c8650b18a1b56
2013-10-24 20:47:48 -07:00
Mike Hommey
f255cb180f
Bug 870406 part n - Move more CSRCS to moz.build. r=mshal
2013-11-01 10:30:45 +09:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Andrew McCreight
ab63e479c1
Bug 928647 - Remove CycleCollectedRuntime::mObjectToUnlink. r=smaug
2013-10-19 08:59:10 -07:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Nicholas Nethercote
35059be3df
Bug 929791 - Fix invalid JSON generation when dumping memory reports to file after viewing about:memory in the presence of child processes. r=mccr8.
2013-10-22 16:58:33 -07:00
Nicholas Nethercote
d58b8ff6f4
Bug 918207 - Support per-tab memory profiling. r=billm,mccr8,till,smaug,nfroyd.
...
--HG--
extra : rebase_source : 7603eaedbd761c6b231b1b911f719388864755e6
2013-10-22 14:53:26 -07:00
Benjamin Smedberg
918d9a5ff9
Bug 927944 part B - move AutoCriticalSection to nsWindowsHelpers.h and use it instead of manual lock handling in nsWindowsDllBlocklist.cpp, r=ehsan
...
--HG--
extra : rebase_source : 54e55b729263bffbb5a92c3336eacf248e99a659
2013-10-18 14:24:51 -04:00
Ehsan Akhgari
4a6090fdcb
Bug 928434 - Fix the invalid format string in nsMemoryImpl::IsLowMemoryPlatform; r=bsmedgerg
...
--HG--
extra : rebase_source : 115fb93cb90a2004168032a4ad1d998a5dfb192d
2013-10-18 20:34:57 -04:00
Masatoshi Kimura
11b1ec2573
Bug 925599 - Introduce version test functions using VerifyVersionInfo(). r=bbondy
2013-10-19 03:14:31 +09:00
Olli Pettay
129aa70c07
Bug 927813 - Some micro-optimizations for Suspect, r=mccr8
2013-10-17 17:05:13 +03:00
Ehsan Akhgari
9bf1bff8b4
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
2013-10-17 00:36:13 -04:00
Phil Ringnalda
214fbe3acd
Back out ee100983f921 (bug 895047) for build bustage
...
CLOSED TREE
2013-10-16 21:51:55 -07:00
Ehsan Akhgari
6f865c67f5
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
2013-10-17 00:36:13 -04:00
Birunthan Mohanathas
c09e07a17c
Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan
2013-10-10 16:41:00 -04:00
Tareq Khandaker
3c7462ff19
Bug 855847 - Fix misleading console warning. r=yoric
2013-10-04 13:16:53 -04:00
Lucas Rocha
79d3557f7b
Bug 906230 - Add HardwareUtils.isLowMemoryPlatform() (r=kats)
2013-10-01 14:22:15 +01:00
Ryan VanderMeulen
2a773817b4
Merge m-c to inbound.
2013-09-30 16:51:06 -04:00
Bill McCloskey
269803fbc6
Bug 921293 - Don't print NS_WARNINGs if an environment variable is set (r=bsmedberg)
2013-09-30 13:30:39 -07:00