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
Jason Orendorff
d640df5146
Bug 1439063 - Part 1: Move several public headers from js/src to js/public. r=jandem.
...
js/src/jsalloc.h -> js/public/AllocPolicy.h
jsalloc.cpp -> js/src/util/AllocPolicy.cpp
jsbytecode.h -> merge into js/public/TypeDecls.h
jsprf.h -> js/public/Printf.h
jsprf.cpp -> js/src/util/Printf.cpp
jsprototypes.h -> public/ProtoKey.h
jswrapper.h -> js/Wrapper.h
2018-02-21 10:30:19 -06: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
Gabriele Svelto
166d82c47c
Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj
...
MozReview-Commit-ID: HS3M0DJQ3qc
2017-10-10 11:59:39 +02:00
shindli
f90a73f3c0
Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
...
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Gabriele Svelto
53bb53d5a2
Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj
...
MozReview-Commit-ID: HS3M0DJQ3qc
2017-10-10 11:59:39 +02: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
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
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Nicholas Nethercote
0f9a531d87
Bug 1373436 (part 4) - Use UniquePtr with profile_add_marker(). r=mstange.
...
Once the |aPayload| argument to profile_add_marker() became a UniquePtr the
default value of nullptr caused compilation difficulties that could only be
fixed by #including ProfilerMarkerPayload.h into lots of additional places
(because the UniquePtr<T> instantiation required the T to be fully defined). To
get around this I just split profile_add_marker() into two functions, one with
1 argument and one with 2 arguments.
The patch also removes the definition of PROFILER_MARKER_PAYLOAD in the case
where MOZ_GECKO_PROFILER isn't defined. A comment explains why.
2017-06-16 12:26:26 +10:00
kedziorski.lukasz@gmail.com
af7965b07d
Bug 1359436 - Add leak checking to CycleCollectedJSContext and related classes. r=mccr8
2017-05-09 13:59:00 +02:00
Steve Fink
ccdbf25343
Bug 1322560 - Inject detailed GC timing info into profiles, r=mstange
2017-05-02 16:13:49 -07: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
35b88671ac
Bug 1359245 - Get rid of CycleCollectedJSRuntime::MainContext (r=mccr8)
...
This is another method that assumes one context per runtime. This patch
eliminates the method.
MozReview-Commit-ID: JHcQ1nyiHSP
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
Jan de Mooij
9caa1cd6dc
Bug 1353758 - Move the external string cache into the JS engine and improve it. r=arai,bz
2017-04-07 10:40:29 +02:00
Steve Fink
d3665a8b69
Bug 1346874 - Disable slow gray mark checks on Android, r=mccr8
...
MozReview-Commit-ID: GyycxPpNDQA
2017-03-16 15:41:36 -07: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
Jon Coppeard
7c8feb3d5d
Bug 1336467 - Don't blacken weakmap key unless both the delegate and the map are black r=mccr8
2017-02-16 10:29:33 +00:00
Bill McCloskey
f79edeabc9
Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
...
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08: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
Olli Pettay
986f2d91ea
Bug 1336957, use diagnostic assert for wrapper existence, r=baku
2017-02-08 15:21:05 +02:00
Kris Maglione
db3d847dec
Bug 1273251: Part 3 - Allow CallbackObject to contain a null callable. r=peterv
...
MozReview-Commit-ID: FCXVHouhG3I
2016-11-14 21:25:37 -08:00
Olli Pettay
35461cd3d9
Bug 1326507, rename Traverse to TraverseNative, r=mccr8
2017-01-03 21:50:10 +02:00
Boris Zbarsky
01786f18a4
Bug 1326096 followup. Suppress the false-positive GC analysis failure due to us doing an indirect call that the static analysis doesn't understand. r=sfink
2016-12-29 14:00:43 -08: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
Tooru Fujisawa
03ddefc59f
Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden
2016-08-14 20:39:31 +09:00
Wes Kocher
62d49513c8
Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout
...
Backed out changeset eb95a12e5d86 (bug 1283710)
Backed out changeset f727edc4be48 (bug 1283710)
Backed out changeset fed60fbf645d (bug 1283710)
Backed out changeset 98339fa564f1 (bug 1283710)
Backed out changeset 51b8d69edca0 (bug 1283710)
Backed out changeset d72527b7d3c0 (bug 1283710)
Backed out changeset ee5215f1a38e (bug 1283710)
Backed out changeset dcedbaefe399 (bug 1283710)
Backed out changeset 61f8250cbe0b (bug 1283710)
Backed out changeset 239382846137 (bug 1283710)
2016-10-18 17:27:58 -07:00
Tooru Fujisawa
044b5a993c
Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden
2016-08-14 20:39:31 +09:00
Andrew McCreight
e6f1035952
Bug 1301301, part 1 - Unify NoteJSObject and NoteJSScript into NoteJSChild. r=smaug
...
This will let my next patch pass in other GC things.
This should not change behavior in any important way.
MozReview-Commit-ID: FykviKKvQzI
2016-09-23 15:42:13 -07:00
Eric Faust
15333897fc
Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj)
2016-09-15 21:35:14 -07:00
Wes Kocher
9ca1b6d1c1
Backed out changeset 39da44265946 (bug 1263595) for build bustage a=backout CLOSED TREE
2016-09-16 14:19:22 -07:00
Eric Faust
67f078a908
Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj)
2016-09-15 21:35:14 -07:00
Phil Ringnalda
781e99ee0b
Backed out changeset 48694b762a84 (bug 1263595) for -Werror bustage
...
CLOSED TREE
2016-09-15 22:04:50 -07:00