Andrew McCreight
685a29f9b1
Bug 931738 - Remove nsPurpleBufferEntry from nsISupportsImpl.h. r=smaug
2013-11-26 14:29:59 -05:00
Ehsan Akhgari
f3d5e39cbf
Bug 942635 - Build dom/ipc in unified mode; r=bzbarsky
2013-11-26 11:39:19 -05:00
Benjamin Smedberg
9950de3641
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
07ce8fb494
Merge fx-team to m-c
2013-11-21 19:16:50 -08:00
Ehsan Akhgari
5ae04a9cf8
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
36c7d139c0
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
b696d7931d
merge mozilla-inbound to mozilla-central
2013-11-21 14:20:21 +01:00
Nicholas Nethercote
6ebfdcab7c
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
3fddde94b8
Bug 935698 - isolate nsIAccessibleValue implementation into separate class, r=tbsaunde
2013-11-19 16:01:15 -05:00
Andrew McCreight
6663405c37
Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug
2013-11-20 14:35:17 -08:00
Andrew McCreight
e95cbc0c81
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
bb1468458b
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
e684f4cc71
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
96e1092a51
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
44bb1bc6e4
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
e4b1a62a1a
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
96d04bb502
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
6f67d60423
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
6a4ff78542
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
8fd1bc7f20
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
d3cbd5920f
Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj
2013-11-19 16:27:36 -05:00
Ryan VanderMeulen
6eb7c563bb
Merge inbound to m-c.
2013-11-19 13:21:57 -05:00
Nicholas Nethercote
b82ef1a8fa
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
2812d11fce
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
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
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
e19377c4a9
Bug 936912 - Build xpcom in unified mode; r=froydnj
2013-11-18 21:34:00 -05:00
Chris Peterson
cf2e68463e
Bug 939576 - Build netwerk/protocol/http in unified mode. r=mcmanus
2013-11-16 21:19:51 -08:00
Phil Ringnalda
362ecb8b1a
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
c2c5f678c2
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
8a5c15606b
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
a69fdf1720
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
5fc06e9d01
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
820707774b
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Benjamin Smedberg
896491a679
Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj
2013-11-19 16:27:36 -05:00
Carsten "Tomcat" Book
370964d25d
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
130960c774
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
bf78efbbd3
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
90b108526b
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
1f1f9e46d4
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
292c9a4320
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
f43f9108f4
Bug 939137 - part 1 - add largestContiguousVMBlock attribute to nsIMemoryReporterManager; r=bsmedberg
2013-11-15 13:04:43 -05:00
Olli Pettay
b1b4cf61fc
Bug 937303 - Make CC logger to pass information about compartments, r=mccr8
2013-11-12 15:53:51 +02:00
Wes Kocher
b4defcfe2f
Backed out changeset 3d769520a0be (bug 937303) for build bustage
2013-11-11 14:50:00 -08:00
Olli Pettay
bdbe7564bf
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
02a1314689
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
2013-11-11 14:17:14 -05:00
Olli Pettay
50f8b65717
Bug 936789 - Faster CC logger, r=mccr8
2013-11-09 23:15:44 +02:00
Markus Stange
3dbbc64afb
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
863ffe2480
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
952d880569
Bug 905382, part 2 - Implement per-zone string conversion cache. r=bz
2013-09-26 16:18:27 -07:00
Nicholas Nethercote
3eae0dfea5
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
8aa18001f7
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
00ed7105bd
Bug 934568 - Make cycle collector OOM assertions fatal in debug builds. r=mccr8
2013-10-27 07:51:31 -04:00
Kyle Huey
3f7123a621
Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz
2013-11-05 22:16:25 +08:00
Jonas Finnemann Jensen
41edf8980c
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
608a3720cc
Bug 933124 - Fix -Wformat warning in nsObjcExceptions.h. r=dougt
2013-10-29 21:04:41 -07:00
Aaron Klotz
3d83aa7a6f
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
4908bbab5e
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
f97143587d
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
5da5c4cd53
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
84fe98b48f
Bug 870406 part n - Move more CSRCS to moz.build. r=mshal
2013-11-01 10:30:45 +09:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Andrew McCreight
96267f1e9a
Bug 928647 - Remove CycleCollectedRuntime::mObjectToUnlink. r=smaug
2013-10-19 08:59:10 -07:00
Brian O'Keefe
9c9d71fddb
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Nicholas Nethercote
eba1059de2
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
dac7e13e71
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
640d851717
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
def783081c
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
571b0da3ca
Bug 925599 - Introduce version test functions using VerifyVersionInfo(). r=bbondy
2013-10-19 03:14:31 +09:00
Olli Pettay
08cf0e1d70
Bug 927813 - Some micro-optimizations for Suspect, r=mccr8
2013-10-17 17:05:13 +03:00
Ehsan Akhgari
b7d148db05
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
b808ef7069
Back out ee100983f921 (bug 895047) for build bustage
...
CLOSED TREE
2013-10-16 21:51:55 -07:00
Ehsan Akhgari
5582e7b472
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
0244dd58be
Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan
2013-10-10 16:41:00 -04:00
Tareq Khandaker
7e66101ce3
Bug 855847 - Fix misleading console warning. r=yoric
2013-10-04 13:16:53 -04:00
Lucas Rocha
b655fa84ef
Bug 906230 - Add HardwareUtils.isLowMemoryPlatform() (r=kats)
2013-10-01 14:22:15 +01:00
Ryan VanderMeulen
af288628a8
Merge m-c to inbound.
2013-09-30 16:51:06 -04:00
Bill McCloskey
d5140e096c
Bug 921293 - Don't print NS_WARNINGs if an environment variable is set (r=bsmedberg)
2013-09-30 13:30:39 -07:00
Ryan VanderMeulen
ad7d17c453
Merge m-c to b2g-inbound.
2013-09-30 16:30:26 -04:00
Jon Coppeard
4a148110a7
Bug 913224 - Fix js::DumpHeapComplete() to work with GGC r=billm r=mccr8
2013-09-30 13:05:32 +01:00
Ed Morley
51ed22f1ab
Backed out changeset 3e20fa222424 (bug 913224) for crashes on Android 4.0
2013-09-30 12:53:32 +01:00
Jon Coppeard
41f1b86482
Bug 913224 - Fix js::DumpHeapComplete() to work with GGC r=billm r=mccr8
2013-09-30 11:20:08 +01:00
Ed Morley
e370001e83
Backed out changeset 0904d8d19947 (bug 913985)
2013-09-30 11:05:35 +01:00
Chris Kitching
b227c66624
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-30 09:07:34 +02:00
Andrew McCreight
69e40bc338
Bug 915488 - Make CC participant's Root, Unroot and Unlink methods infallible. r=smaug
2013-09-11 18:57:53 -07:00
Ryan VanderMeulen
4875847fa7
Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
...
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Nathan Froyd
e8316ed759
Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan
2013-09-10 16:56:05 -04:00
Chris Kitching
939077cb0b
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
6b7e07f87d
Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
...
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
602a2edbcb
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Nicholas Nethercote
dc5c29f71c
Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
...
CLOSED TREE
2013-09-19 15:52:30 -07:00
Nicholas Nethercote
952691a40d
Bug 913260 (part 3) - Formalize the concept of "distinguished amounts" in the memory reporter manager. r=mccr8.
2013-09-19 15:52:28 -07:00
Phil Ringnalda
12216d4f00
Backed out 3 changesets (bug 913260)
...
CLOSED TREE
Backed out changeset 9195be8a50cb (bug 913260)
Backed out changeset 09c71a3e7b85 (bug 913260)
Backed out changeset 8a8691a26012 (bug 913260)
2013-09-24 20:31:00 -07:00
Nicholas Nethercote
a51a1d18a4
Bug 913260 (part 4) - Use distinguished amounts for all the memory measurements done by telemetry. r=mccr8.
...
--HG--
extra : rebase_source : 0e9db51b137770ba7db15a99a4ec1e87071d2f47
2013-09-19 15:52:30 -07:00
Nicholas Nethercote
426445c26e
Bug 913260 (part 3) - Formalize the concept of "distinguished amounts" in the memory reporter manager. r=mccr8.
...
--HG--
extra : rebase_source : cc6f50d85f384ed665d44b2e8850618fd8a56fa5
2013-09-19 15:52:28 -07:00
Nathan Froyd
54e46df93a
Bug 915765 - fix -Wformat warnings in xpcom/; r=bsmedberg
...
Unfortunately this doesn't fix all platforms, since Android's inttypes.h doesn't
have the right macros for intptr_t at least, but it makes the situation a little
better.
2013-09-12 13:18:36 -04:00
Daniel Holbert
a5640bf8f5
Bug 919825: Annotate class nsSecurityConsoleMessage as MOZ_FINAL to fix -Wdelete-non-virtual-dtor GCC build warning. rs=ehsan
2013-09-23 17:05:27 -07:00
Ehsan Akhgari
8c43a4f37f
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Ryan VanderMeulen
26ad3fc54b
Merge m-c to inbound.
...
--HG--
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
2013-09-23 17:10:33 -04:00
Ryan VanderMeulen
6dc98c3880
Merge fx-team to m-c.
2013-09-23 17:00:26 -04:00
David Rajchenbach-Teller
a20ffed2ee
Bug 918765 - nsIConsoleListener is now a function. r=dougt
2013-09-23 09:22:15 -04:00
Ehsan Akhgari
c8d51e9ce2
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Ehsan Akhgari
7233ba7103
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Viral Wang
bbffc68f14
Bug 906538 - Update user agent to tablet if ro.build.characteristics is "tablet". r=fabrice
2013-09-23 09:03:16 -04:00
Daniel Holbert
c560b3631f
Bug 918882: Remove no-longer-used 'rv' variable. r=njn
2013-09-20 14:20:27 -07:00
Ehsan Akhgari
83edc15195
Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg
2013-09-19 14:29:31 -04:00
Ehsan Akhgari
5b80f8355d
Backed out changeset a8d6973e5743 (bug 917885) because I pushed the wrong patch
2013-09-19 14:27:35 -04:00
Ehsan Akhgari
17ae4f436e
Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg
2013-09-19 14:12:56 -04:00
Benoit Jacob
229d2760cd
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-19 09:54:42 -04:00
Wes Kocher
0b90687d1e
Backed out changeset 040522aacba4 (bug 913847)
2013-09-18 17:18:56 -07:00
Benoit Jacob
5526ea7b69
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Joshua Cranmer
69250ebe86
Bug 904985, part 2: Use char16_t for NS_LITERAL_STRING, r=glandium, dbaron.
...
--HG--
extra : rebase_source : b4c9def93d907724fb4a1bc3f6279db87a11fb1f
2013-09-17 22:43:12 -05:00
Bill McCloskey
7a4e1969f2
Bug 905926 - Move rambo GC to runtime destruction. r=jonco
2013-09-17 09:46:32 -07:00
Bobby Holley
5edbdecb7b
Bug 905926 - Invoke JS_DestroyRuntime before we totally tear down the XPCJSRuntime. r=billm
2013-09-17 09:46:31 -07:00
Ehsan Akhgari
08499bf765
Bug 917348 - Part 1: Make NS_IMPL_CYCLE_COLLECTING_AGGREGATED build on non-debug configurations; r=bsmedberg
...
--HG--
extra : rebase_source : 4984cf31e6855b721dabb27315b4255179aa586d
2013-09-17 12:05:13 -04:00
Aryeh Gregor
3d0a00376b
Bug 916568 - Remove xpcom/base/nsErrorAsserts.cpp; r=ehsan
2013-09-17 14:05:12 +03:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f5213d3e66
Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
...
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Nicholas Nethercote
2900cc6657
Bug 912165 - Remove the Linux-only smaps memory reporters. r=mccr8.
...
--HG--
extra : rebase_source : 4847c299f87a1a85944b169a808ee2c573ebf8b5
2013-09-03 21:09:15 -07:00
Nicholas Nethercote
53f2057a6b
Bug 911641 (part 2) - Prefix some reporters with "redundant/", and make about:memory ignore them. r=johns.
...
--HG--
extra : rebase_source : 9ed48217ecb8af66256ddbdb70ad9f6b5d049582
2013-09-03 20:06:36 -07:00
Nicholas Nethercote
fbf85946b7
Bug 911641 (part 1) - Remove about:compartments, and show the compartment and ghost window lists into about:memory. r=johns.
...
--HG--
extra : rebase_source : c1ef005e272048e2eb84b20bafff15bcb5aae511
2013-09-03 20:05:17 -07:00
Dan Gohman
a50084b38d
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Nicholas Nethercote
7983bb2a7f
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Andrew McCreight
34c84eb4f1
Bug 913666, part 5 - Rename aListener to aManualListener. r=smaug
...
The name "aListener" is not very descriptive, and with the previous patch, it is only
used to pass in a manually-specified listener that was passed in to CycleCollectNow,
so rename things.
2013-09-10 16:33:41 -07:00
Andrew McCreight
9297f8e56e
Bug 913666, part 4 - Sink free floating code from nsCycleCollector::Collect into BeginCollection. r=smaug
...
The hg diff for this commit is terrible, but all it is doing is taking the code
in nsCycleCollector::Collect from after PrepareForCollection through BeginCollection
and moving it into BeginCollection.
2013-09-10 16:33:41 -07:00
Andrew McCreight
5f53367674
Bug 913666, part 3 - Sink cycle collector listener selection into Collect. r=smaug
...
Move the two places we check global flags to decide if we want to use a listener, even if we
aren't passed in one. A later patch renames aListener to aForcedListener to make it less
confusing.
2013-09-10 16:33:40 -07:00
Andrew McCreight
61fc280328
Bug 913666, part 2 - Log cycle collector garbage at the same time we log roots. r=smaug
...
There's no reason to wait until CollectWhite to record what is garbage, and with incremental CC
we'll get more accurate logging by logging right away, rather than waiting until later when an
object may have gone away for some other reason.
2013-09-10 16:33:40 -07:00
Andrew McCreight
c97621b9aa
Bug 913666, part 1 - Move cycle collector root logging into ScanRoots. r=smaug
2013-09-10 16:33:39 -07:00
Andrew McCreight
946af7a12e
Bug 913881, part 6 - Measure weak map representations in the cycle collector graph. r=njn
...
Contrary to the comment here, I'm pretty sure this needs to be measured. mWeakMaps
is an array of little structs. Of course, in practice I doubt this amounts to anything.
2013-09-10 08:56:36 -07:00
Andrew McCreight
37a96c3566
Bug 913881, part 5 - Assert for freeing snow white during cycle collector scanning. r=smaug
...
If you call FreeSnowWhite when scanning is true, then objects that get released won't be added to the purple buffer, and you can get leaks.
2013-09-10 08:56:36 -07:00
Andrew McCreight
a52d562072
Bug 913881, part 4 - Change nsCycleCollector::ClearGraph to GCGraph::Clear. r=smaug
...
There's no reason I can see to have this in nsCC instead of GCGraph.
2013-09-10 08:56:36 -07:00
Andrew McCreight
ad32530a42
Bug 913881, part 3 - Fix argument name for GCGraphBuilder::AddNode. r=smaug
2013-09-10 08:56:35 -07:00
Andrew McCreight
1ccffa0309
Bug 913881, part 2 - Make a bunch of nsCycleCollector methods private. r=smaug
2013-09-10 08:56:35 -07:00
Andrew McCreight
cf8f801bff
Bug 913881, part 1 - Remove unused method nsCycleCollector::Runtime. r=smaug
2013-09-10 08:56:35 -07:00
Andrew McCreight
35872c70ab
Bug 913527, part 3 - Check for collection in progress in Collect. r=smaug
...
Moving this to the top level simplifies dealing with PrepareForCollection a bit.
2013-09-10 08:56:34 -07:00
Andrew McCreight
7dfdd8f01d
Bug 913527, part 2 - Remove empty CC graph optimization. r=smaug
...
This looks like a dubious optimization to skip most of a CC when the graph
is empty, dating from the dawn of the CC, but I doubt it is ever triggered
nowadays.
2013-09-10 08:56:34 -07:00
Andrew McCreight
efebb04f5b
Bug 913527, part 1 - Get rid of FinishCollection. r=smaug
...
This can just be inlined now, with the cleanup parts moved into CleanupAfterCollection.
2013-09-10 08:56:34 -07:00
Andrew McCreight
1c638d5f5b
Bug 911829 - Separate main thread and worker cycle collector telemetry. r=smaug
2013-09-10 08:29:45 -07:00
Andrew McCreight
797e84dcb3
Bug 909436 - Inline CycleCollectedJSRuntime::OnContext. r=bholley
2013-09-10 08:29:44 -07:00
Kyle Huey
bf7d0aa16a
Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz
2013-09-08 20:29:21 -07:00
Kyle Huey
c6389ea0fa
Bug 911258: Part 4 - Refactor exception implementations. r=bz
2013-09-08 20:28:50 -07:00
Kyle Huey
af632a6a4e
Bug 911258: Part 2 - Kill the exception service. r=bsmedberg
2013-09-08 20:28:49 -07:00
Andrew McCreight
0e792ce8b7
Bug 913130, part 4 - Replace body of ShutdownCollect loop with Collect. r=smaug
2013-09-06 16:17:53 -07:00
Andrew McCreight
916cfd2ccd
Bug 913130, part 3 - Run {PrepareFor,CleanupAfter} every iteration of ShutdownCollect. r=smaug
2013-09-06 16:17:03 -07:00
Andrew McCreight
8cfa8b27b2
Bug 913130, part 2 - Give Collect and ShutdownCollect more consistent ordering. r=smaug
2013-09-06 16:16:45 -07:00
Andrew McCreight
a20bc41d54
Bug 913130, part 1 - Modify nsCycleCollector::Collect to allow it to be used at shutdown. r=smaug
2013-09-06 16:15:10 -07:00
Andrew McCreight
4558644828
Bug 913080 - Make GCGraphBuilder's hash table initialization infallible. r=smaug
2013-09-06 13:42:27 -07:00
Andrew McCreight
9b9141a21e
Bug 911233, part 3 - Add more CheckThreadSafety calls to the cycle collector. r=khuey
2013-09-06 13:41:42 -07:00
Andrew McCreight
9ae420c351
Bug 911233, part 2 - Inline SelectPurple. r=smaug
2013-09-06 13:41:11 -07:00