Commit Graph

1876 Commits

Author SHA1 Message Date
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
Jon Coppeard
7f6cdb57e8 Bug 1367795 - Add barriers to JS::WeakCache for GCHashSet r=sfink 2017-07-10 18:27:43 +01:00
Jon Coppeard
af750debd2 Bug 1367795 - Specialise JS::WeakCache for GCHashMap so we can add barriers r=sfink 2017-07-10 18:25:57 +01:00
Jon Coppeard
d59d472223 Bug 1367795 - Specialise JS::WeakCache for GCHashSet so we can add barriers r=sfink 2017-07-10 18:25:40 +01:00
Jan de Mooij
db3fda15b3 Bug 1378740 - Share RegExpShareds across compartments within a zone. r=jonco 2017-07-06 16:40:39 +02:00
Boris Zbarsky
4e52e48eb1 Bug 1377055. Assert that JSCLASS_SKIP_NURSERY_FINALIZE is not used on proxies. r=jonco 2017-06-30 17:31:41 -07:00
Carsten "Tomcat" Book
daa67cc9e3 merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
Jan de Mooij
dc45e8e90e Bug 1377238 - Free finished IonBuilders off-thread. r=jonco 2017-06-29 14:43:55 -07:00
Jan de Mooij
53de04c6f6 Bug 1375505 part 1 - Change iterator code to return JSObject* instead of returning bool + outparam. r=evilpie 2017-06-28 21:00:43 -07:00
David Teller
c1cb83c9ea Bug 1377008 - Teach GCPolicy about Maybe;r=jonco
MozReview-Commit-ID: CdfNBojdx3K

--HG--
extra : rebase_source : 1db545ca96345ed9b82c986b70cad794a6d764c2
2017-06-28 17:45:21 -07:00
Jan de Mooij
e3abce18d2 Bug 627220 part 2 - Finalize external strings in the background. r=sfink 2017-06-26 10:24:08 -07:00
Jan de Mooij
17f7476bee Bug 627220 part 1 - Remove unused Zone* argument from external string finalizers. r=sfink 2017-06-26 10:23:50 -07:00
Kris Maglione
02d405ec1f Bug 1373579: Part 1 - Initialize all members when using an inherited constructor. r=billm
MozReview-Commit-ID: Dr4Zm2OJclo

--HG--
extra : rebase_source : e514665262135cec08afd19cbf602078ac2a201e
2017-06-19 16:48:03 -07:00
Jon Coppeard
a76430d89e Bug 1373214 - Change Zone::isGCMarking() to avoid a TLS lookup r=sfink 2017-06-16 10:25:41 +01:00
Jon Coppeard
995284e0a4 Bug 1372569 - Skip sweeping empty weak caches r=sfink 2017-06-16 10:06:28 +01:00
Jon Coppeard
52665ac9e7 Bug 1372875 - Add more assertions for hash table pointer generation and mutation count r=luke 2017-06-16 10:05:55 +01:00