Commit Graph

1891 Commits

Author SHA1 Message Date
Olli Pettay
2e8b602108 Bug 1377131 - Try to trigger collector slices at times which disturb page js less (at least with iframes loaded after the top level page has been loaded), r=mccr8,bz
When triggering an iframe load or starting to parse a document for an iframe, the main thread may often have some time before the new page has been created. Try to trigger CC/GC slice at such point in order to avoid collector later when page is already executing its JS

--HG--
extra : rebase_source : 806df0af1dbaefb1761134eca0bb7c6ade6ac1a9
2017-09-06 18:18:11 +01:00
Jon Coppeard
47659f1db3 Bug 1384513 - Remove AutoAssertNoAlloc r=sfink 2017-09-01 10:13:51 +01:00
Till Schneidereit
fb21cc09de Bug 1384513 - Change all public APIs to take JS::AutoRequireNoGC instead of JS::AutoCheckCannotGC. r=jonco
Additionally, change the base class of AutoSuppressGCAnalysis from AutoAssertNoAlloc to AutoAssertNoGC.

In combination, these chances enable passing either JS::AutoCheckCannotGC or JS::AutoSuppressGCAnalysis, depending on whether suppressing the GC analysis is desired or not.

MozReview-Commit-ID: Eg1cl28ezeJ
* * *
Bug 1384513 - Follow-up to fix bustage from template usage of functions with a changed signature, on a CLOSED TREE. r=bustage

MozReview-Commit-ID: 5SsI4DoDwAT
2017-07-26 12:20:59 +02:00
Lars T Hansen
2396e38198 Bug 1394771 - Check that a wasm name is UTF8 when we first read it. r=luke
--HG--
extra : rebase_source : d00a93bddec71fc76bf2c30912c35008ddf06700
2017-08-29 15:00:32 +02:00
Jan de Mooij
a5de55dced Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
Jan de Mooij
ff7f9d6102 Bug 1389510 part 2 - Remove checks for getProperty/setProperty hooks in SpiderMonkey. r=evilpie 2017-08-25 10:11:44 +02:00
Jon Coppeard
abe09f4457 Bug 1362098 - Add source position to requested module information r=till 2017-08-23 17:24:37 +01:00
Tom Schuster
897d12a647 Bug 934669 - Remove the old GlobalObject warnOnce code. r=arai 2017-08-19 21:12:33 +02:00
Lars T Hansen
691c2c0203 Bug 1277562 - Part 9: Add Wasm Tier 2 compilation tasks. r=luke
--HG--
extra : rebase_source : 2b95eddcf25d17445b1a377bd3017538b663179c
extra : source : da9e75d2e82c3e3564bb3e37230d384bcf7ffacf
2017-02-09 15:15:17 +01:00
Lars T Hansen
b0a78cb977 Bug 1388756 - Move helper thread types out of the OOM namespace. r=jonco
--HG--
extra : rebase_source : 2ec28160c41db48b2fa043f3d36e75d32832b26f
extra : histedit_source : d93bebede5edd065bb0cbcdebc509bbe3ab26d1c
2017-08-11 10:11:35 +02:00
Jason Orendorff
4e0c34d1c3 Bug 1363200 - JSAPI for realms: JS::SetDestroyRealmCallback. r=sfink
--HG--
extra : rebase_source : ad62e332bab6c31db2c98581163b1ca5fe8103f0
extra : intermediate-source : 0f72e0175f55a309ea4bc70240347e6659174af4
extra : source : ac9c7e04c174c8b2e4ca0e533a8a2838d293f700
2017-05-23 16:35:31 -05:00
Jason Orendorff
cb4a93f642 Bug 1363200 - JSAPI for realms: JS::Get/SetRealmPrivate(). r=sfink
The existing CompartmentPrivate struct will be split into two parts,
one part containing per-realm (i.e. per web page) data and one
containing per-compartment (i.e. per trust realm) data.

--HG--
extra : rebase_source : 8b5693d05b618cc7d7299f725b26d5535ee847f9
2017-05-22 14:56:02 -05:00
Jason Orendorff
5df09661ff Bug 1363200 - JSAPI for realms: JS_SetVersionForCompartment() -> JS::SetVersionForCurrentRealm(). r=sfink
--HG--
extra : rebase_source : 8b0d53210fe827a648251395e038cb7b9eb616e9
2017-05-22 14:40:13 -05:00
Jason Orendorff
3b36ad843d Bug 1363200 - JSAPI for realms: Add JS::Realm opaque type and GC rooting policy for it. r=sfink
--HG--
extra : rebase_source : 383cf50c2457dcda9e2c779cafbc62052b12a6a9
2017-06-29 09:57:46 -07:00
Ting-Yu Chou
fe98b4e219 Bug 1385181 - Avoid excess copying when return from HashTable::lookupForAdd(). r=luke
MozReview-Commit-ID: F95DCc1wvkE

--HG--
extra : rebase_source : 42edaf41d53e9c7646206cc6ea9c9ce976846eb1
2017-08-01 17:00:39 +08:00
Jan de Mooij
5a92797b27 Backed out changeset 000f28217a30 (bug 1384513) for perf regressions.
--HG--
extra : rebase_source : 290b02b2d088e4575bff1f2dd88808a7ebd51250
2017-08-01 10:42:04 +02:00
Wes Kocher
cb83ca733e Backed out changeset e94dceac8090 (bug 1385181) for causing bug 1386011 (CCov build bustage) a=bustage
MozReview-Commit-ID: BK2XP0pcoE8
2017-07-31 22:12:03 -07:00
Ting-Yu Chou
54070eee06 Bug 1385181 - Alter HashTable::lookupForAdd() to remove a redundant copy when return. r=luke
MozReview-Commit-ID: 9XnlC0JXETX
2017-07-28 14:05:40 +08:00
Till Schneidereit
d2099cf317 Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu,f=baku
This adds a ton of JSAPI functions for creating and querying the state of ReadableStreams, and support for creating ReadableStream instances whose source is supplied by the embedding.

MozReview-Commit-ID: 9uDWOazPaUI
2017-07-29 16:47:30 +02:00
Sebastian Hengst
08625237bc Backed out changeset 2693a863dabd (bug 1272697) 2017-07-28 20:18:21 +02:00
Till Schneidereit
acef1159b4 Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu
This adds a ton of JSAPI functions for creating and querying the state of ReadableStreams, and support for creating ReadableStream instances whose source is supplied by the embedding.

MozReview-Commit-ID: 9uDWOazPaUI
2017-07-28 17:48:14 +02:00
Jon Coppeard
3075bc5440 Bug 1384885 - Do gray unmarking of cross zone edges as soon as they are found r=sfink 2017-07-28 11:06:40 +01:00
Jan de Mooij
ea5d324e74 Backed out changeset 1455629cb663 (bug 1384042) for regressing AngularJS perf.
--HG--
extra : rebase_source : e165fd16182dcf5a72133f7afb86069a60bfbec9
2017-07-27 16:36:57 +02:00
Jan de Mooij
082b9c8aed Bug 1384042 - Don't Ion-inline functions when the call has an empty type barrier. r=bhackett 2017-07-26 16:03:12 +02:00
Till Schneidereit
128de681e1 Bug 1384513 - Change all public APIs to take JS::AutoRequireNoGC instead of JS::AutoCheckCannotGC. r=jonco
Additionally, change the base class of AutoSuppressGCAnalysis from AutoAssertNoAlloc to AutoAssertNoGC.

In combination, these chances enable passing either JS::AutoCheckCannotGC or JS::AutoSuppressGCAnalysis, depending on whether suppressing the GC analysis is desired or not.

MozReview-Commit-ID: Eg1cl28ezeJ
2017-07-26 14:38:29 +02:00
Kris Maglione
8683b183cd Bug 1382645: Part 1 - Add memory reporter for StructuredCloneHolder binding implementation. r=billm
MozReview-Commit-ID: aK3ljfCJVi

--HG--
extra : rebase_source : d788c6c686cc72b423ca100795a379d343c398db
2017-07-25 14:53:41 -07:00
Brian Hackett
4d36acb0f4 Bug 1349924 - Backed out changeset 7aa7d265948a due to regression. 2017-07-25 13:57:57 -06:00
Jan de Mooij
7e5724db61 Bug 1383775 - Clean up function toString/toSource code, remove remnants of source decompiler. r=anba 2017-07-25 13:22:11 +02:00
Jon Coppeard
27b31261f4 Bug 1374797 - Fix logic around triggering atoms GCs r=sfink 2017-07-25 11:28:41 +01:00
Paul Bone
70b304d94b Bug 1380768 (part 2) - Add a pref for nursery size, r=sfink. 2017-07-21 14:34:46 +10:00
Paul Bone
07ea7264d8 Bug 1380768 (part 1) - Update comments to reflect API changes and a changed, r=sfink. 2017-07-21 15:56:11 +10:00
Brian Hackett
5914f8b520 Bug 1349924 - Try to specialize property loads to specific function objects, r=jandem.
--HG--
extra : rebase_source : 1bc1d41304bdc5083e4546995c0e7d4fcd52f977
2017-07-24 14:01:49 -06:00
Ehsan Akhgari
b940c3d6e8 Bug 1382339 - Improve SpiderMonkey hashing functions by using MFBT's HashGeneric more; r=jandem 2017-07-20 12:59:09 -04:00
Ehsan Akhgari
33114ba370 Bug 1382324 - Improve SpiderMonkey's pointer hashing function for pointers to neighboring memory locations; r=jandem
This is very similar to the fix to bug 1379282 for the XPCOM hashtables.
2017-07-20 12:23:07 -04:00
Nicolas B. Pierron
a1f0784e66 Bug 1364908 - IonMonkey: Add LoadElementFromSate to support argument[x] in inlined functions. r=jandem 2017-07-18 12:08:22 +00:00
Sebastian Hengst
517126d509 Backed out changeset b6be7c2be50e (bug 1364908) 2017-07-17 19:43:39 +02:00
Nicolas B. Pierron
48a17c9e49 Bug 1364908 - IonMonkey: Add LoadElementFromSate to support argument[x] in inlined functions. r=jandem 2017-07-17 17:04:12 +00:00
Jon Coppeard
29c8ebe8bc Bug 1380778 - Fixup shape pointers into the nursery using a dedicated list r=sfink 2017-07-17 10:54:12 +01:00
Jon Coppeard
86b6f119b2 Bug 1381058 - Split full store buffer reasons into a separate reason for each store buffer r=sfink 2017-07-17 10:54:12 +01:00
Jon Coppeard
39c119de26 Bug 1379957 - Only fire the debugger's onGarbageCollection hook when necessary to avoid extra worker GCs r=fitzgen 2017-07-12 18:31:56 +01:00
Jon Coppeard
f761d9a064 Bug 1380030 - Remove color constants from public API and replace with an internal MarkColor enum r=sfink 2017-07-12 18:31:55 +01:00
Jon Coppeard
f32b5076be Bug 1380030 - Refactor isMarked() methods into separate methods for each color and any r=sfink 2017-07-12 18:31:55 +01:00
Philip Chimento
3faca05ad5 Bug 1379538 - Unresolved symbols when linking program to standalone SpiderMonkey. r=fitzgen
Some symbols that need to be public are not marked as such.
2017-07-11 10:59:00 -04:00
Philip Chimento
260bdd7088 Bug 1334338 - Mark character encoding functions as public API. r=fitzgen 2017-07-10 22:56:04 -07:00
Jan de Mooij
5c5ead5942 Bug 1379461 - Refactor code to return RegExpShared* directly instead of using bool + outparam. r=evilpie,sfink 2017-07-11 11:31:12 +02:00
Jon Coppeard
3b4db1432d Bug 1377466 - Rename PokeGC and add a reason code for GCs triggered by this r=sfink 2017-07-11 17:17:17 +01:00
Jon Coppeard
73aaca8f5b Bug 1378717 - Allow inlining of TraceEdge API's null check r=sfink 2017-07-11 16:51:37 +01:00
Carsten "Tomcat" Book
93c690a082 Backed out changeset 3a0a2ffe803b (bug 1379461) for hazard failure 2017-07-11 12:59:09 +02:00
Jan de Mooij
669d53bfea Bug 1379461 - Refactor code to return RegExpShared* directly instead of using bool + outparam. r=evilpie 2017-07-11 11:31:12 +02:00
Jon Coppeard
eb6ab2cb17 Bug 1367795 - Add barriers to JS::WeakCache for GCHashMap r=sfink 2017-07-10 18:28:07 +01:00