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