Olli Pettay
8d2a7b0ad2
Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
2017-11-17 11:01:27 +08:00
Csoregi Natalia
a7fb1721fe
Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE
...
Backed out changeset 9683f24ff8ec (bug 1193394)
Backed out changeset 0e7140a7c841 (bug 1193394)
Backed out changeset a0e26f6b2784 (bug 1193394)
Backed out changeset 29e1fceaf48d (bug 1193394)
Backed out changeset b8632bbbd273 (bug 1193394)
Backed out changeset a54ef2d8f896 (bug 1193394)
Backed out changeset 55c94c05c57f (bug 1193394)
2018-03-01 16:29:02 +02:00
Olli Pettay
6a1afb366a
Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
2017-11-17 11:01:27 +08:00
Boris Zbarsky
4189744bb6
Bug 1435483 part 16. Switch to using dom::Exception, not nsIException, in C++ code. r=qdot
...
nsIException is builtinclass in idl, so whatever code we had to handle
non-dom::Exception nsIExceptions is dead code.
MozReview-Commit-ID: 6VnqDWt0041
2018-02-05 16:34:05 -05:00
Philip Chimento
35939c7304
Bug 1428605 - Add JS:: namespace to API where it's missing. r=sfink
2018-01-07 19:08:33 -08:00
Chia-Hung Duan
0bfe9cc488
Bug 1376891 - Support idle runnable for nursery collection. r=jonco, r=smaug
2017-10-30 18:07:42 +08:00
Csoregi Natalia
5a5966a0f1
Backed out changeset fbf84e79c44c (bug 1376891) for bustage CycleCollectedJSRuntime.h:254 r=backout on a CLOSED TREE
2017-11-01 15:32:09 +02:00
Chia-Hung Duan
00ea51de91
Bug 1376891 - Support idle runnable for nursery collection. r=jonco, r=smaug
2017-10-30 18:07:42 +08:00
Bevis Tseng
48f2387039
Bug 1409985 - Don't fire DOMEvent during StableState. r=smaug
2017-10-19 18:20:31 +08:00
Olli Pettay
d09d8660eb
Bug 1406922 - Make CycleCollectedJSContext to handle microtasks and make MutationObserver to use them, r=baku,bevis
2017-10-11 15:31:38 +03:00
Olli Pettay
8032dc8d09
Bug 1405821 - Move microtask handling to CycleCollectedJSContext, r=baku
2017-10-05 18:34:12 +03:00
Bill McCloskey
1a26f8b6f4
Bug 1359245 - Remove references to context from the cycle collector (r=mccr8)
...
MozReview-Commit-ID: 1QoNEiZMvBf
2017-04-27 15:34:46 -07:00
Bill McCloskey
8830029ed4
Bug 1359245 - Keep a linked list of CycleCollectedJSContexts in the runtime (r=mccr8)
...
This patch keeps a list of all the cooperatively scheduled contexts that are
linked to a runtime. In places where we need to iterate over all contexts (for
GC, specifically), it iterates over the list.
MozReview-Commit-ID: 3pKJX78f2l0
2017-04-27 15:34:46 -07:00
Bill McCloskey
77f8dbf00d
Bug 1359245 - Initial support for cooperative contexts (r=mccr8)
...
This patch adds initial support for cooperatively scheduled
CycleCollectedJSContexts.
MozReview-Commit-ID: 5pfPubHUanL
2017-04-27 15:34:46 -07:00
Bill McCloskey
612db5fd30
Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8)
...
To run JS in separate cooperative threads, we need to split up per-thread state
from per-runtime state. This patch does that for XPConnect.
MozReview-Commit-ID: 407SlJ7nR6v
2017-04-18 17:01:04 -07:00
Luke Wagner
d3f4e07e7c
Bug 1356631 - Change LargeAllocationCallback to be process-wide (r=mccr8)
...
This is necessary to allow helper threads to attempt large allocations and recover from fragmentation situations with the LargeAllocationFailureCallback.
MozReview-Commit-ID: AyA3pbXcaYy
2017-04-17 21:19:54 -05:00
Jon Coppeard
7c5ab787ba
Bug 1345177 - Make RegExpShared a GC thing r=sfink
2017-03-27 10:38:29 +01:00
Jon Coppeard
f2dc766532
Backed out changesets e66f564d9749 and 0380d914ad39 (bug 1345177) for rooting hazards
2017-03-27 11:09:54 +01:00
Jon Coppeard
0f25381dd3
Bug 1345177 - Make RegExpShared a GC thing r=sfink
2017-03-27 10:38:29 +01:00
Jon Coppeard
48190571e0
Bug 1335751 - Check all gray marking state before cycle collection in debug builds r=mccr8
2017-03-05 09:23:33 +00:00
Jon Coppeard
c2100b97ac
Backed out 2 changesets (bug 1335751) for mochitest devtools failures
2017-03-05 12:37:31 +00:00
Jon Coppeard
89fd808dde
Bug 1335751 - Check all gray marking state before cycle collection in debug builds r=mccr8
2017-03-05 09:23:33 +00:00
Brian Hackett
672894a957
Bug 1337112 - Remove links from JSRuntime to its single context and zone group, r=jandem,jonco.
2017-02-10 16:47:50 -07:00
Boris Zbarsky
897083284e
Bug 1332321. Make all cycle collection participants explicitly say whether they need skippability themselves, or just want whatever skippability their descendants want. r=mccr8
...
This way we can't end up with a situation in which an ancestor doesn't care about skippability but a descendant does and doesn't get it, because the ancestor just claimed no skippability was needed.
2017-01-24 16:11:56 -05:00
Olli Pettay
35461cd3d9
Bug 1326507, rename Traverse to TraverseNative, r=mccr8
2017-01-03 21:50:10 +02:00
Boris Zbarsky
9e8c858a93
Bug 1326096 part 3. Pass a useful external string memory reporter to SpiderMonkey from Gecko code. r=froydnj
2016-12-29 13:19:27 -08:00
Till Schneidereit
cf48c96ede
Bug 1322920 - Remove DOM Promise implementation. r=bz
...
MozReview-Commit-ID: 1zzd0x2LNNb
2016-12-14 17:11:48 +01:00
Andrew McCreight
541b7cb878
Bug 1301301, part 2 - Add Scope as an AddToCCKind. r=smaug
...
Bug 1263355 changed scopes from JSObjects (which are represented in
the CC graph) to a new kind of GC thing. Many objects can share the
same scope, so they will end up calling the scope trace method
repeatedly, causing cycle collections to become much slower in some
cases.
MozReview-Commit-ID: CFO87zXjwgu
2016-09-23 15:42:13 -07:00
Andi-Bogdan Postelnicu
b19ab78d02
Bug 1301333 - mark Initialize as initialisation function for CycleCollectedJSContext. r=mccr8
...
MozReview-Commit-ID: BRO2gsJRNjk
2016-09-16 13:31:37 +03:00
Jan de Mooij
b402a91ead
Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
2016-09-14 15:47:32 +02:00