Andrew McCreight
8825a1d4bc
Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug
2014-05-06 17:25:26 -07:00
Ed Morley
651845f2c7
Fix incorrect resolution of merge conflicts between bug 995730 and bug 1001542 (no bug; CLOSED TREE)
...
--HG--
extra : amend_source : 5b90e13f8f3a7419e26acee6e483855bdd8c3558
2014-05-06 09:00:06 +01:00
Wes Kocher
f29f9824c0
Merge m-c to b2g-inbound
2014-05-05 21:19:59 -07:00
Dave Hylands
29347f4490
Bug 1001542 - Make OS_VERSION use b2g version info rather than Linux version info.
2014-05-05 15:24:58 -07:00
Eric Rahm
6931f484d4
Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn
2014-04-25 13:00:15 -07:00
Ryan VanderMeulen
fbf794deff
Backed out changeset 83d914c3431d (bug 999473) for Linux mochitest-other failures.
2014-05-01 16:45:21 -04:00
Birunthan Mohanathas
3775a0694b
Bug 995730 - Change xpcom/base/ to use 2 space indentation
...
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:39 +03:00
Eric Rahm
2b8775772e
Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn
2014-04-25 13:00:15 -07:00
Alphan Chen
f2a00092ec
Bug 1000755 - [about:service] Refine the format of output reports. r=dhylands
2014-04-28 14:20:41 +08:00
Birunthan Mohanathas
504b581650
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Zack Weinberg
1bb7938cd0
Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo. r=bsmedberg
2014-04-26 10:56:54 -04:00
Nathan Froyd
02e4fd1b2f
Backout 2629257557ff:284be1609a50 (bug 1001842) for debug xpcshell bustage
2014-04-26 13:18:32 -04:00
Zack Weinberg
f041e7a36f
Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo. r=bsmedberg
2014-04-26 10:56:54 -04:00
Eric Rahm
254a975955
Bug 1001137 - Use proper pref for configuring fifo directory. r=froydnj
...
--HG--
extra : rebase_source : 6d45f4b6b9d86ab6718d07a4a7bfe83454d095fd
2014-04-25 13:53:01 -07:00
Eric Rahm
d1a2ce47bb
Bug 1000461 - Enable triggering memory report via fifo device on OS X. r=froydnj
2014-04-24 17:35:59 -07:00
Eric Rahm
b20b484208
Bug 1001137 - Enabling FifoWatcher via user pref does not work. r=froydnj
2014-04-24 15:58:57 -07:00
Trevor Saunders
9f22ca8fbf
bug 980753 - make nsRefPtr movable r=froydnj
2014-02-26 18:11:14 -05:00
Eric Faust
faf224faa6
Bug 1001126 - Allow AllTraces CC logging other than at shutdown. (r=mccr8)
2014-04-24 14:28:49 -07:00
Eric Rahm
571ebf0713
Bug 1000621 - Check if DMD is enabled before dumping. r=njn. DONTBUILD
2014-04-24 12:43:11 -07:00
Steven Michaud
59ec684d63
Bug 997908 - Add null check to ReleaseSliceNow() as bandaid for Mac topcrasher. r=smaug
2014-04-24 11:46:39 -05:00
Terrence Cole
de2fb98fa3
Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
...
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Dave Hylands
e380a5c684
Bug 990230 - Fix heap use-after-free in memory reporter. r=n.nethercote
2014-04-17 16:57:30 -07:00
Terrence Cole
135db24e96
Bug 994413 - Make Gecko use the same value marking semantics as SpiderMonkey; r=jonco,mccr8
2014-04-09 12:42:48 -07:00
Nathan Froyd
8886a78c1f
Bug 993546 - refactor malloc-wrapping memory reporter implementations; r=njn
2014-04-08 13:51:20 -04:00
Márk Bartos
f22c1fcd88
Bug 106787 - Fix: Remove nsIAllocator and it's references. r=bsmedberg
2014-04-14 17:20:45 +02:00
Eric Rahm
5f92e784f7
Bug 995345 - Improve efficiency of NS_DescribeCodeAddress. r=froydnj
...
--HG--
extra : rebase_source : ab839d1898d9fe122f2519a657391437dc7216bc
2014-04-14 13:25:04 -07:00
Boris Zbarsky
34e0756678
Bug 995047. Change out stack/exception APIs to hand out AString instead of AUTF8String for filename/functionname, so we end up with fewer string conversions in practice. r=smaug
2014-04-11 22:20:40 -04:00
Jed Davis
3b4495d665
Bug 991791 - Fix some timing-dependent edge cases in nsMemoryReporterManager child handling. r=njn
...
The patch for bug 946407 changed the state space of
nsMemoryReporterManager in a subtle way: if we're using
MinimizeMemoryUsage with our report, then it's possible for all of
the child processes to finish (or for the timeout to expire) before
the parent has started reporting on itself. This could cause us to
dereference a null pointer to the state struct in StartGettingReports().
To fix this, we keep track of whether the parent has actually done its
report, and defer finishing the report until then.
2014-04-07 13:33:00 +02:00
Ben Kelly
97f749f80f
Bug 991412: Provide static convenience method to retrieve RSS. r=njn
2014-04-07 10:46:20 -04:00
Maksim Lebedev
518ac59f91
Bug 968148 - Implement PointerCapture for pointer events. r=smaug
...
--HG--
extra : rebase_source : 331cf187194c8827e4b75835e85b2d79fdc419c7
2014-04-04 10:09:10 -07:00
Jan Varga
a169d71bf3
Bug 856921 - Ensure that all quota failures are exposed to JS as QuotaExceededError. r=bent
2014-04-02 19:14:14 +02:00
Jim Blandy
beedbc3762
Bug 951855: Add omitted doc fix requested by smaug in patch review. DONTBUILD r=smaug
2014-04-01 21:30:42 -07:00
Jim Blandy
595842d464
Bug 951855: Improve documentation for nsICycleCollectionListener and nsICycleCollectionHandler. r=smaug
2014-04-01 21:12:08 -07:00
snigdha
11404d6af2
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
Ehsan Akhgari
345b35a6e8
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Ehsan Akhgari
6f2ea7ebeb
Bug 798158 - Part 0: Do not treat format warnings as errors in a few directories; r=mshal
2014-03-27 16:38:20 -04:00
Jan Beich
95624d68a4
Bug 988910 - Explictly include unistd.h for read/write/close calls. r=njn
2014-03-27 15:06:14 -04:00
Ryan VanderMeulen
d9d827e562
Merge inbound to m-c.
2014-03-26 20:58:31 -04:00
Alphan Chen
43f64888bd
Bug 964636 - Part 2: Implement "about:service" framework core. r=dhylands
2014-03-20 10:52:11 +08:00
Alphan Chen
709b742c67
Bug 964636 - Part 1: Move common classes and functions out of nsMemoryInfoDumper. r=dhylands
2014-03-20 15:29:51 +08:00
Fabrice Desré
8474a400e9
Bug 980419 - Don't access preferences omt in nsMemoryInfoDumper.cpp r=bsmedberg
2014-03-21 13:50:44 -07:00
Nathan Froyd
73dbe7d676
Bug 984443 - get rid of #ifndef $OTHER_HEADER bits from xpcom/ as relics of a bygone era; r=ehsan
2014-03-17 12:20:47 -04:00
Andrew McCreight
bb3d6640cb
Bug 984665 - Change the extra shutdown CC assertion into a warning. r=smaug
2014-03-19 06:05:18 -07:00
Andrew McCreight
0f9c300dcf
Bug 984685 - Add cycle collector efficiency to COLLECT_TIME_DEBUG logging. r=smaug
2014-03-19 06:05:17 -07:00
Eric Faust
14d78d0265
Bug 987750 - Add CC logging options for process specifiers. (r=mccr8)
2014-03-26 09:57:38 -07:00
Kyle Huey
68b608c95f
Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
a5ae9a4da3
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
2fd18dbde7
Bug 967364: Privatize already_AddRefed::mRawPtr. r=bsmedberg
2014-03-15 12:00:15 -07:00
Wes Kocher
78bcbd03fc
Merge inbound to m-c
2014-03-14 22:20:25 -07:00
Andrew McCreight
66a4d6494c
Bug 948755 - Log incremental cycle collector roots. r=smaug
2014-03-14 16:07:07 -07:00
Andrew McCreight
a81c88d7c7
Bug 982847 - JSGCThingParticipant::Traverse should respect AllTraces. r=smaug
2014-03-14 16:07:07 -07:00
Yuan Xulei
ccd09b381f
Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug
2014-03-05 11:25:40 +08:00
Ehsan Akhgari
712633d816
Bug 982072 - Don't leak the argument passed to RegisterStrongMemoryReporter if we fail to get the service; r=froydnj
2014-03-11 14:15:27 -04:00
Ryan VanderMeulen
ebd3457021
Backed out 5 changesets (bug 910412) for intermittent crash whack-a-mole.
...
Backed out changeset e3eb9463b3e1 (bug 910412)
Backed out changeset d5863d302bde (bug 910412)
Backed out changeset 422b66d4b1ca (bug 910412)
Backed out changeset 3431d59d752e (bug 910412)
Backed out changeset b1c0310cdac1 (bug 910412)
2014-03-11 12:17:03 -04:00
Andrew McCreight
e1fb809508
Bug 981033 - Clear mActivelyCollecting before restarting CC. r=smaug
2014-03-11 07:34:35 -07:00
Yuan Xulei
0d4a2d5a27
Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug
2014-03-05 11:25:40 +08:00
Jed Davis
906a754859
Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
...
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Andrew McCreight
92b6eebe7d
Bug 978486 - Remove nsErrorService::mErrorStringBundleKeyMap. r=froydnj
2014-03-04 09:49:40 -08:00
Bobby Holley
7250b8aac2
Bug 975419 - Add a JS::TenuredHeap<JSObject*> overload to TraceCallbacks. r=mccr8,terrence
2014-03-03 08:53:42 -08:00
Jan Beich
67b968c530
Bug 977457 - Move _GNU_SOURCE ifdef a little up to account for cxxabi.h from libcxxrt. r=ehsan
2014-03-03 10:29:08 -05:00
Andrew McCreight
07694709f9
Bug 977688 - Get rid of CC_AbortIfNull. r=smaug
2014-02-28 09:56:23 -08:00
Masatoshi Kimura
62b35389e4
Bug 972761 - Move WindowsVersion.h to MFBT. r=froydnj
...
--HG--
rename : xpcom/base/WindowsVersion.h => mfbt/WindowsVersion.h
2014-02-28 07:58:47 +09:00
Andrew McCreight
c479f2a541
Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug
2014-02-27 10:04:09 -08:00
L. David Baron
5e307581fa
Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
...
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.
The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.
--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
L. David Baron
dfb9ad9186
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Andrew McCreight
8fe8ca6e5e
Bug 975849 - Remove overly strict assertion from CycleCollectedJSRuntime::TraverseRoots to restore previous behavior. r=smaug
2014-02-26 13:18:17 -08:00
Gabriele Svelto
0d89791e8f
Bug 975434 - Remove the ability to cancel memory minimizations. r=njn
2014-02-25 16:37:30 +01:00
Ehsan Akhgari
92b3158879
Backed out changeset 8d8165293e9b (bug 976372) because of Windows debug bustage on a CLOSED TREE
2014-02-24 23:01:54 -05:00
Ehsan Akhgari
9144b0180d
Backed out changeset f74c9326b89c (bug 976247) because I landed the wrong patch :(
2014-02-24 21:07:37 -05:00
Ehsan Akhgari
1e925946d1
Bug 976372 - Remove support for compilers which lack support for dynamic_cast<void*>; r=dbaron
...
--HG--
extra : rebase_source : 83a23e3b8fa4462eb70a1844b555c7605162a497
2014-02-24 21:06:06 -05:00
Ehsan Akhgari
32a9de133d
Bug 976247 - Remove a useless static keyword from mozilla::detail::DEAD; r=froydnj
...
--HG--
extra : rebase_source : e73444ec000f1e867651d39cf2aa6beaf88bf4f3
2014-02-24 19:37:34 -05:00
L. David Baron
06fc468085
Bug 975295 patch 2: Remove the nsITraceRefcnt interface and any instantiation of the nsTraceRefcntImpl object. r=bsmedberg
2014-02-24 15:27:53 -08:00
L. David Baron
378effc7fa
Bug 939610: Return to printing stack walk addresses in uppercase hexidecimal rather than lowercase, since we have scripts depending on it. r=ted
2014-02-24 15:27:52 -08:00
Terrence Cole
16e65508e5
Bug 956081 - Fix the CC's GC-has-been-run detection in the presence of GGC; r=mccr8
...
--HG--
extra : rebase_source : de945b8e2f4972cb8b563f17a95c66cbba86a902
2014-02-20 13:38:32 -08:00
Ehsan Akhgari
fe19ed8113
Bug 935778 - Part 1: Add RefCountType, a type compatible with nsrefcnt, to MFBT; r=dbaron,froydnj
2014-02-21 14:45:50 -05:00
Chris Peterson
10a0737dbc
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8
2014-02-17 22:10:50 -08:00
Ehsan Akhgari
067fa188b6
Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 21:33:49 -05:00
Andrew McCreight
7c710ce5ca
Bug 901597, part 2 - Add environment var to CC log only main or worker threads. r=smaug
2014-02-20 14:27:04 -08:00
Andrew McCreight
1ca8eaa3a1
Bug 901597, part 1 - Move CC logging logic into nsCCParams. r=smaug
2014-02-20 14:27:03 -08:00
Andrew McCreight
7fce285035
Bug 972940 - Rename XPCOM_CC_ env vars to MOZ_CC_. r=smaug,njn
2014-02-20 14:27:03 -08:00
Andrew McCreight
f25aeef35c
Back out bug 712939 for not getting fully reviewed.
2014-02-20 06:40:56 -08:00
Chris Peterson
64487f63e2
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Andrew McCreight
b4f084e338
Backout bug 972940 for valgrind leaks on this CLOSED TREE
2014-02-19 17:20:48 -08:00
Andrew McCreight
8493db0ad2
Backout bug 901597 for valgrind leaks
2014-02-19 17:19:17 -08:00
Andrew McCreight
e952ca846d
Backout bug 901597 for valgrind leaks
2014-02-19 17:18:59 -08:00
Andrew McCreight
6b6b4bece1
Bug 901597, part 2 - Add environment var to CC log only main or worker threads. r=smaug
2014-02-19 13:27:15 -08:00
Andrew McCreight
3fd4ecc704
Bug 901597, part 1 - Move CC logging logic into nsCCParams. r=smaug
2014-02-19 13:27:14 -08:00
Andrew McCreight
8807edd27d
Bug 972940 - Rename XPCOM_CC_ env vars to MOZ_CC_. r=smaug
2014-02-19 13:27:14 -08:00
Eric Rahm
d815e247af
Bug 972170 - Add zram reporting to about:memory. r=njn
2014-02-19 11:08:38 -08:00
Brian Hackett
bb98c9b7e6
Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent.
2014-02-19 09:02:13 -07:00
Daniel Holbert
682b66552e
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
796b530a80
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Justin Shrake
9c72784f86
Bug 972038 - Replace calls to GetMessageMoz with ToString to save callers from having to convert to UTF-8. r=jimm
2014-02-18 09:47:54 -05:00
Ehsan Akhgari
22eada1dd3
Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
...
It's just as easy to directly set the preprocessor macro in the moz.build
files. Using this variable doesn't really buy us anything.
This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Nicholas Nethercote
7be3105a78
Bug 956199 - Fix style of xpcom/base/nsMemoryReporterManager.{h,cpp}. r=bsmedberg.
...
--HG--
extra : rebase_source : 79a8053c97ecb0786f0a722838f66fc85c5e1368
2014-01-02 19:19:32 -08:00
Masatoshi Kimura
e64f747483
Bug 970483 - Fix the logic to determine the pre-RTM Windows 7. r=bbondy
2014-02-12 23:49:06 +09:00
Andrew McCreight
63f3eea700
Bug 966359 - Prevent FreeSnowWhite reentrance. r=smaug
2014-02-11 14:56:44 -08:00
Masatoshi Kimura
8487cb2318
Bug 970483 - Part 1: Introduce IsWindowsBuildOrLater() and IsWin7RTMOrLater(). r=bbondy
2014-02-12 06:01:29 +09:00
Masatoshi Kimura
0a3d8da618
Backed out changeset d7d447cac91b (bug 969762) for tp5 regression.
2014-02-12 06:01:29 +09:00
Mike Hommey
65c65c7c42
Bug 969800 - Fix nsMemoryReporterManager::GetVsize for !HAVE_VSIZE_AND_RESIDENT_REPORTERS and add GNU/kFreeBSD support to nsMemoryReporterManager. r=njn
2014-02-11 10:43:41 +09:00