Olli Pettay
3d7f2966ec
Bug 1371224 - Add markers for forgetSkippable and CC slices, r=mccr8,mstange
...
--HG--
extra : rebase_source : 34fd3553e7eeba6e72291d145451c8dd786c6834
2017-06-10 03:16:25 +03:00
Olli Pettay
5591c27af9
Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, tweaks to keep reftest memory usage lower, r=mccr8
...
--HG--
extra : rebase_source : 850e4f25ef1ac18b768dc50dc4fa9b77f0743080
2017-06-10 02:41:06 +03:00
Olli Pettay
ce6010c7d6
Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
...
--HG--
extra : rebase_source : 2ee14a0cc890b91f405a5b4741030dbad6989018
2017-06-10 02:38:50 +03:00
Wes Kocher
43acd1b6e6
Backed out 2 changesets (bug 1367905) for a spike in Windows reftest failures a=backout
...
Backed out changeset c5aaa3f7b79e (bug 1367905)
Backed out changeset 1c66da2b1e88 (bug 1367905)
MozReview-Commit-ID: IX632WoWHrO
2017-06-08 16:09:28 -07:00
Olli Pettay
5361fd6640
Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
2017-06-07 23:46:31 +03:00
Carsten "Tomcat" Book
8fb20a5801
Backed out changeset ff33e6c6f6a5 (bug 1367905) for memory leaks
2017-06-07 15:13:37 +02:00
Olli Pettay
03c8a070c4
Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
...
--HG--
extra : rebase_source : b7248c5b45fe43eb733d73965a49c1cd69a1c72d
2017-06-06 20:41:34 +03:00
Andreas Farre
1ac06bd4d2
Bug 1311425 - Avoid GC/CC timers when scheduling idle, r=smaug
...
--HG--
extra : rebase_source : 5a43c45b331cebbc53363c83203cfad89d543cb0
2017-05-24 21:15:30 -04:00
Steve Fink
2c8f69a305
Bug 1364547 - Tell Gecko whether a slice is a final slice, r=jonco,mccr8
...
--HG--
extra : rebase_source : ea028988b3515cdc441af8f7c2c1ba0794482494
2017-05-12 16:46:43 -07:00
Jonathan Watt
33cfc4aa43
Bug 1362891, part 2 - Make use of XRE_IsE10sParentProcess in code that could use it. r=froydnj
...
MozReview-Commit-ID: 81PFEgNH37m
--HG--
extra : rebase_source : 350b11b3bec652472565bd590ef13680e480a75e
2017-04-24 10:40:12 +01:00
Andrea Marchesini
1981f67eb3
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
f0d6de60d7
Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
...
--HG--
rename : dom/script/ScriptSettings.cpp => dom/base/ScriptSettings.cpp
rename : dom/script/ScriptSettings.h => dom/base/ScriptSettings.h
rename : dom/script/nsIScriptElement.h => dom/base/nsIScriptElement.h
rename : dom/script/nsIScriptLoaderObserver.idl => dom/base/nsIScriptLoaderObserver.idl
rename : dom/script/ScriptElement.cpp => dom/base/nsScriptElement.cpp
rename : dom/script/ScriptElement.h => dom/base/nsScriptElement.h
rename : dom/script/ScriptLoader.cpp => dom/base/nsScriptLoader.cpp
rename : dom/script/ScriptLoader.h => dom/base/nsScriptLoader.h
2017-05-08 09:54:38 +02:00
Andrea Marchesini
7a4ef797cb
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Michael Layzell
bbb295c668
Bug 1353440 - Annotate background hang reports which occur while the user is interacting with the browser, r=ehsan
...
MozReview-Commit-ID: CSO0K5wiK5H
2017-05-05 15:21:48 -04:00
Andrew McCreight
f9e7c10239
Bug 1304205 - Increase slice time for longer running CCs. r=smaug
...
If a CC takes too long (around 50 slices) or gets interrupted by a GC,
we have to finish it synchronously, which can cause a big pause. This
patch tries to avoid that by eagerly increasing the slice budget the
longer a CC goes on. It linearly increases the slice time from 5ms to
40ms as we approach the halfway point of a CC (1 second), matching GC
pauses, and then leaves it at 40ms.
MozReview-Commit-ID: 8TKZ0ZuxsUA
--HG--
extra : rebase_source : 2c46e56ecaa47242177d8cce53a208f08f5cabe2
2017-04-28 10:14:22 -07:00
Bill McCloskey
34a4f034bb
Bug 1359245 - Remove references to context from the cycle collector (r=mccr8)
...
MozReview-Commit-ID: 1QoNEiZMvBf
2017-04-27 15:34:46 -07:00
Markus Stange
730b4fc829
Bug 1339897 - Rename PROFILER_LABEL_PRINTF to PROFILER_LABEL_DYNAMIC and make it really cheap. r=Ehsan,njn
...
Instead of copying and concatenating strings into an mDest buffer in
SamplerStackFramePrintfRAII, require callers to keep the string buffer alive
for the duration of the current scope, and store the pointer to the annotation
string in the ProfileEntry. During stackwalking, concatenate the label and the
annotation (separated by a space) and store the resulting string in the
profile buffer.
MozReview-Commit-ID: GEjcLrhhdvb
--HG--
extra : rebase_source : 683749421ee2122805a249cf413e882ee5f33331
2017-03-22 19:37:33 -04:00
David Major
dc67bfc9a3
Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
...
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());
This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.
I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.
MozReview-Commit-ID: Kh1rUziVllo
--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Iris Hsiao
5cece96e1c
Backed out 12 changesets (bug 1344629) for stylo build bustage
...
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major
40f4821701
Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
...
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());
This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.
I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.
MozReview-Commit-ID: Kh1rUziVllo
--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
JerryShih
93438255d9
Bug 1270056
- skip the GC in nsGlobalWindow::SetNewDocument() r=smaug
2017-03-06 17:47:27 +00:00
Jan Varga
e161ee742d
Bug 1311057 - Part 1: Remove support for packaged apps from asmjscache; r=luke
2017-03-06 18:38:40 +01:00
David Major
6feec2967a
Bug 1339968 - Remove NS_MULTILINE_LITERAL_STRING. r=froydnj
2017-02-17 15:24:11 +13:00
Bill McCloskey
c6b9c4a0bf
Bug 1337575 - Use SystemGroup for GC/CC (r=mccr8)
...
MozReview-Commit-ID: 9vLuFnuHS9U
2017-02-13 17:02:59 -08:00
cykesiopka.bmo@gmail.com
e21da906a4
Bug 1338518, add missing {}, r=smaug
2017-02-12 18:40:09 +02:00
Olli Pettay
dd8879be51
Bug 1338518, make parent process to use 10ms gc slices when user is active, r=jonco
...
--HG--
extra : rebase_source : a502261ecfceb72ebcd030ace2ddd92e09618708
2017-02-11 14:01:26 +02:00
Olli Pettay
4999914c19
Bug 1334432 - Improve GC/CC logging in multi-e10s, r=bustage, CLOSED TREE
2017-02-03 00:11:00 +02:00
Olli Pettay
01dc764f79
Bug 1334432 - Improve GC/CC logging in multi-e10s, r=bustage, CLOSED TREE
2017-02-03 00:07:07 +02:00
Olli Pettay
9cd6e244e9
Bug 1334432 - Improve GC/CC logging in multi-e10s, r=mccr8
...
--HG--
extra : rebase_source : ed3294efccdcd35f7da5f1b4c59a7d8a30fc491f
2017-02-02 23:32:17 +02:00
Olli Pettay
b003a7de36
Bug 1110928, first request GC should be a full GC, r=jonco
...
--HG--
extra : rebase_source : 6949e66d52d5ab4f75bf2a1875e50c49465f5818
2017-02-01 23:55:38 +02:00
continuation@gmail.com
3c54dab20c
Bug 1110928, part 4 - Try to pass a relevant zone to PokeGC. r=smaug
...
--HG--
extra : rebase_source : 839ac8ef6e0de1a69240f2986c07e1793e750b21
2017-01-23 19:22:26 +02:00
Andrew McCreight
c77b68df2f
Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
...
nsDocumentViewer knows which document is involved which will help us later.
Also, fix a typo in the comment.
--HG--
extra : rebase_source : 2d78ae196882d056bdf03e014ff928d7769ba81a
2017-01-23 19:20:54 +02:00
Nathan Froyd
ec503a0996
Bug 1329718 - remove nsISupportsVoid and associated machinery; r=erahm
...
Nothing uses it, it's virtually impossible to use from script, and there
are better ways to pass a |void*| around in C++.
2017-01-10 16:31:48 -05:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Bill McCloskey
34a3f7d50e
Bug 1308040 - Notify JSON if extended telemetry enabled (r=jonco,gfritzsche)
2016-10-31 14:01:46 -07:00
Jon Coppeard
556585c65f
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
Jan de Mooij
a53986bf29
Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
...
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Olli Pettay
9d40047b30
Bug 1297367 - Call iCC slice and forgetSkippable right after paint, r=mccr8
2016-09-12 14:00:15 -07:00
Olli Pettay
d449074dfe
backout Bug 1297367 because of tart regression, r=backout
2016-09-13 08:47:20 -07:00
Olli Pettay
20092042b7
Bug 1297367 - Call iCC slice and forgetSkippable right after paint, r=mccr8
...
--HG--
extra : rebase_source : ba695c6da7112da932b5b03577929ffaa94b7116
2016-09-12 14:00:15 -07:00
Boris Zbarsky
4e2656ef99
Bug 1300834. GC slice logging should say what process the slice is for. r=smaug
2016-09-07 14:21:36 -04:00
Nicholas Nethercote
742fc7eb48
Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley.
...
This function is an infallible alternative to nsIURI::GetSpec(). It's useful
when it's appropriate to handle a GetSpec() failure with a failure string, e.g.
for log/warning/error messages. It allows code like this:
nsAutoCString spec;
uri->GetSpec(spec);
printf("uri: %s", spec.get());
to be changed to this:
printf("uri: %s", uri->GetSpecOrDefault().get());
This introduces a slight behavioural change. Previously, if GetSpec() failed,
an empty string would be used here. Now, "[nsIURI::GetSpec failed]" will be
produced instead. In most cases this failure string will make for a clearer
log/warning/error message than the empty string.
* * *
Bug 1297961 (part 1b) - More GetSpecOrDefault() additions. r=hurley.
I will fold this into part 1 before landing.
--HG--
extra : rebase_source : ddc19a5624354ac098be019ca13cc24b99b80ddc
2016-08-26 16:02:31 +10:00
Ryan VanderMeulen
bb47ee1c15
Merge m-c to inbound. a=merge CLOSED TREE
2016-08-25 09:00:49 -04:00
Ryan VanderMeulen
9e5c46d9bc
Backed out changeset 649c62d13b57 (bug 1297367) for causing talos regressions.
...
CLOSED TREE
2016-08-25 08:41:52 -04:00
Jon Coppeard
a30843aba8
Bug 1297026 - Replace outdated references to 'compartment GC' with 'zone GC' r=terrence
2016-08-25 12:00:56 +01:00
Olli Pettay
213b519c21
Bug 1297367 - Call iCC slice and forgetSkippable right after paint, r=mccr8
...
--HG--
extra : rebase_source : c0613da305fc8a2292a9dcb67a0d26a6c74fc69b
2016-08-24 02:50:50 +03:00
Terrence Cole
2d06bc1282
Bug 1297067 - Remove unused decommit threshold r=jonco
...
--HG--
extra : rebase_source : 83c4d2b86bdda4912c8213d60a8a3789c87e0c61
2016-08-22 15:01:40 -07:00
James Cheng
1b45836b44
Bug 1296998 - Fix Wmaybe-uninitialized warning in nsJSEnvironment.cpp. r=smaug
...
MozReview-Commit-ID: J21IuAo8Udu
2016-08-21 22:38:00 -04:00
Sebastian Hengst
2f30199523
Backed out changeset 721fabf360ff (bug 1110928) for frequent failures to load onload scripts in reftests on Winodws XP and Windows 7 VM. r=backout
2016-08-21 12:29:01 +02:00
Sebastian Hengst
7422ce2634
Backed out changeset 31b56ae647c8 (bug 1110928)
2016-08-21 12:27:47 +02:00
Andrew McCreight
a0ddf20ce7
Bug 1110928, part 4 - Try to pass a relevant zone to PokeGC. r=smaug
...
This means the browser will do less full GCs.
MozReview-Commit-ID: BXf4GGhmbMx
2016-08-19 15:26:56 -07:00
Andrew McCreight
9bed765b2e
Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
...
nsDocumentViewer knows which document is involved which will help us later.
Also, fix a typo in the comment.
MozReview-Commit-ID: L6AyRUV7Y3x
2016-08-19 15:26:56 -07:00
Luke Wagner
78e6c55df9
Bug 1283924 - Implement AsyncTask hooks for main thread JSContext (r=bkelly)
...
MozReview-Commit-ID: DCrbDDgbUYd
--HG--
extra : rebase_source : 2d85b7eb5635740ba8a34b6deeb0c76bf96376e7
2016-08-19 13:41:55 -05:00
Terrence Cole
a7d2e09c9e
Bug 1293360 - Implement MOZ_CCTIMER environment variable; r=mccr8
2016-08-11 11:05:24 -07:00
Jan de Mooij
c33bac8363
Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence
2016-08-11 14:39:23 +02:00
Jan de Mooij
da9820d563
Bug 1292892 part 3 - Pass RootingContext to ScriptErrorEvent, DispatchScriptErrorEvent. r=bz
2016-08-11 14:39:22 +02:00
Jan de Mooij
5a6befce76
Bug 1292892 part 2 - Some RootingContext cleanup. r=bz,terrence
2016-08-11 14:39:22 +02:00
Jan de Mooij
0ad12515f4
Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru
2016-08-11 14:39:22 +02:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Jan de Mooij
fd0edec3bf
Bug 1286795 part 4 - Change some callbacks to take JSContext instead of JSRuntime. r=terrence
2016-07-23 19:52:47 +02:00
Terrence Cole
7cf17460c7
Bug 1251463 - Remove ShrinkGCBuffers; r=jonco,r=mccr8
...
--HG--
extra : rebase_source : e185ec4d3a043bb7227fdc0a296a14811741cf17
2016-02-25 15:52:59 -08:00
Chris Peterson
b175c9fdd5
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Boris Zbarsky
d208b0de7a
Bug 1282150 part 3. Add a way to get the JSRuntime for the thread, and use it in various places for rooting. r=bholley
2016-07-07 20:08:26 -04:00
Jan de Mooij
7ec38687c8
Bug 1283855
part 27 - Make more GC APIs take JSContext instead of JSRuntime. r=jonco
...
--HG--
extra : rebase_source : b666bd88d0247b58f7311f81e5116199779cc806
2016-07-07 09:55:45 +02:00
Jan de Mooij
1ffe7cc891
Bug 1283855
part 26 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence,mccr8
...
--HG--
extra : rebase_source : 68e6c63b179094f2441f01df58e0bdd68620ed09
2016-07-07 09:55:41 +02:00
Jan de Mooij
c8334f438a
Bug 1283855
part 12 - Make some GC APIs take JSContext instead of JSRuntime. r=sfink
2016-07-05 14:35:21 +02:00
Jan de Mooij
b6c8bdd67a
Bug 1283855
part 9 - Make asm.js/buildId op setters take JSContext instead of JSRuntime. r=bbouvier
2016-07-05 11:06:06 +02:00
Boris Zbarsky
b97284ce16
Bug 1276276 part 6. Get rid of nsJSContext::mContext. r=smaug
2016-06-02 10:34:40 -04:00
Boris Zbarsky
30b1d353e7
Bug 1276276 part 4. Eliminate the specialness of nsJSContext::GetCCRefcnt, since we're never using its mContext for anything now. r=peterv
2016-06-02 10:34:40 -04:00
Boris Zbarsky
f02f5d431d
Bug 1276276 part 3. Eliminate nsIScriptContext::GetNativeContext. r=smaug
2016-06-02 10:34:39 -04:00
Boris Zbarsky
0ddbab28c8
Bug 1276317 part 3. Move handling of the mem log prefs from being per-nsJSContext to just happening once in nsJSContext::EnsureStatics. r=peterv
2016-06-02 10:34:39 -04:00
Boris Zbarsky
145992b47d
Bug 1276317 part 2. Move GC zeal handling from nsJSContext to XPCJSRuntime. r=peterv
2016-06-02 10:34:38 -04:00
Boris Zbarsky
f86c21cecc
Bug 1276317 part 1. Change JS_SetGCZeal to take a JSRuntime, not a JSContext. r=jandem
2016-06-02 10:34:38 -04:00
Boris Zbarsky
98aa24ddc7
Bug 1275704 part 3. Remove the nsXPConnect::ReportAllJSExceptions mechanism, since it's dead code now. r=bholley
2016-05-26 19:39:03 -04:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Emanuel Hoogeveen
1efa5deaf7
Bug 1260475
- Add an option to disable GC slices triggered by painting. r=terrence a=kwierso
...
MozReview-Commit-ID: B81ZHm0EgZB
2016-03-31 14:26:30 -07:00
Boris Zbarsky
9d00c4004b
Bug 1255817 part 5. Remove the now-unused xpc::SystemErrorReporter. r=bholley
2016-03-23 11:44:54 -04:00
Boris Zbarsky
e3b2de6aa9
Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
2016-03-23 11:44:54 -04:00
Tooru Fujisawa
e2a8d2a6b4
Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz
2016-01-01 14:19:20 +09:00
Boris Zbarsky
692754b232
Bug 1255192 part 2. Clean up the JSContext usage around xpc::FindExceptionStackForConsoleReport now that it just needs a JSContext for rooting. r=bholley
2016-03-09 22:27:14 -05:00
Boris Zbarsky
891b63eeba
Bug 1255192 part 1. Remove the JSContext argument of JS::ExceptionStackOrNull. r=bholley
2016-03-09 22:27:13 -05:00
Boris Zbarsky
c1e007e11b
Bug 1255181. Remove AutoJSAPI::InitWithLegacyErrorReporting. r=bholley
2016-03-09 19:02:25 -05:00
Boris Zbarsky
3e5ab54341
Bug 1254230 kinda-fix. Make sure to never send script errors with stacks attached to the console service if the associated windows have already had FreeInnerObjects called on them. r=bholley
2016-03-08 17:21:40 -05:00
Boris Zbarsky
81b9b7ac71
Bug 1254380 part 2. Go ahead and log the stack from our exception in AutoJSAPI::ReportException even if we don't have a window. r=bholley
2016-03-08 17:21:40 -05:00
Trevor Saunders
9dff1fcf58
bug 1252687 - make the ctor for CycleCollectorStats constexpr r=mccr8
2016-03-02 13:37:01 -05:00
Peter Van der Beken
946ac27409
Bug 1251655
- Remove support for JavaScript-DOM-class and JavaScript-DOM-interface. r=bz.
...
--HG--
extra : rebase_source : 88c93e93905e20d2f6755d67d86902fdfc923eb4
2016-02-14 15:59:48 +01:00
Wei-Cheng Pan
601dc81eb0
Bug 1208641 - Extract stack from DOM/XPC exception. r=bholley
2016-02-24 02:06:42 -08:00
Andrew McCreight
b80e656e9e
Bug 1247679, part 3 - Replace NS_IMPL_CYCLE_COLLECTION_TRACE_JSVAL_MEMBER_CALLBACK with JS_MEMBER. r=smaug
2016-02-22 10:11:02 -08:00
Olli Pettay
c244a5179d
Bug 1249932 - indicate in the GC and CC log (browser console) whether it is about default or content process, r=mccr8
...
--HG--
extra : rebase_source : 94554d4651face04b90c6b9f1458d08f67be4a0b
2016-02-22 19:37:50 +02:00
Andrew McCreight
1575a306bd
Bug 1052793, part 2 - Shrink GC buffers during compartmental GCs. r=terrence
...
With part 1, many more GCs are compartmental, so it is no longer a
good indication that there is heavy activity. If we don't regularly
try to shrink GC buffers, we don't decommit arenas enough, causing a
large regression in memory usage.
2016-02-18 15:21:48 -08:00
Andrew McCreight
8705772a81
Bug 1052793, part 1 - Do per-zone GC for CC_WAITING triggers. r=smaug
2016-02-18 15:21:48 -08:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
David Rajchenbach-Teller
42b6a4145f
Bug 1224374
- Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
...
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.
--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Sebastian Hengst
d8d4a2d1a5
Backed out 2 changesets (bug 1224374
) for Windows bustage. r=bustage on a CLOSED TREE
...
Backed out changeset 5f458e6e4997 (bug 1224374
)
Backed out changeset 0dc02cb0b604 (bug 1224374
)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
f5531f5260
Bug 1224374
- Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
...
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.
--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Andrew McCreight
2e00ba83cd
Bug 1207752 - Increase how long we let incremental GC run before forcing it to finish. r=smaug
...
Some users with many tabs have reported extremely long GC pauses
triggered by the CC forcing the GC to finish. Increasing the limit may
cause memory to be somewhat higher for these users, but that is better
than 30 second pauses.
2015-09-23 12:12:00 +02:00
Nicholas Nethercote
f429eae6a5
Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj.
2015-09-10 00:50:51 -07:00
Andrea Marchesini
26d2b33735
Bug 1203916 - Get rid of NS_DOMReadStructuredClone and NS_DOMWriteStructuredClone, r=smaug
2015-09-15 01:05:44 +08:00