Jon Coppeard
d1435a2a8c
Bug 1296688 - Add JSCLASS_FOREGROUND_FINALIZE flag r=sfink r=smaug
2016-08-24 14:18:10 +01:00
Phil Ringnalda
b25ad4c181
Back out changeset bba47d5c2583 (bug 1296484) for isNurseryAllocAllowed() assertion failures in devtools tests
...
CLOSED TREE
2016-08-23 22:37:03 -07:00
Terrence Cole
d00af19508
Bug 1296484 - Automatically CycleCollect if COMPARTMENT_REVIVED GC ends mostly gray; r=mccr8,r=jonco
...
--HG--
extra : rebase_source : d8df564fb782c4d8cfa4a5b153e5cda00e6343a2
2016-08-18 13:30:32 -07:00
Jan de Mooij
d8047f2b2f
Bug 1295967 - Share Shapes and BaseShapes across compartments. r=jonco,fitzgen,njn
2016-08-23 11:25:54 +02:00
Kan-Ru Chen
b4cf4bec61
Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
...
MozReview-Commit-ID: HltgzBnxMsn
2016-08-23 00:40:47 +08:00
Kan-Ru Chen
506dfe6ea3
Bug 1264642 - Part 4. Use BufferList to replace raw buffers in StructuredClone. r=baku r=billm r=jorendorff
...
In JS StructuredClone BufferList<SystemAllocPolicy> is typedef'd to
JSStructuredCloneData and use everywhere in gecko that stores structured
clone data.
This patch changed some raw pointers to UniquePtr<JSStructuredCloneData>
and some to stack allocated JSStructuredCloneData for better life time
management. Some parameters or methods are deleted because of changing
to the new data structure.
MessagePortMessage now has the exactly same structure with
ClonedMessageData. Maybe in the future they can be consolidated.
MozReview-Commit-ID: 1IY9p5eKLgv
2016-08-23 00:40:46 +08:00
Jon Coppeard
187d91a66e
Bug 1296639 - Remove SpiderMonkey's periodic full GC r=sfink
2016-08-22 11:14:24 +01:00
Sebastian Hengst
55ccc927a5
Backed out changeset 325bdb8f8f80 (bug 1110928)
2016-08-21 12:27:51 +02:00
Andrew McCreight
0e61ad42e5
Bug 1110928, part 3 - Add a method to schedule the system zone for GC. r=terrence
...
MozReview-Commit-ID: 4L3iQMPWGNe
2016-08-19 15:26:56 -07:00
Nick Fitzgerald
2fb353111f
Bug 1296399 - Make sure that the js::ProfileEntry::Flags fit in the type that they are used with. r=shu
...
--HG--
extra : rebase_source : 69e9c5e56ab7974c2fb28f95a9b9a0e1d75f0ae5
2016-08-18 12:35:00 -04:00
Luke Wagner
6b009b1299
Bug 1283924 - Baldr: dispatch WebAssembly.compile tasks to a helper thread (r=till)
...
MozReview-Commit-ID: Ll4zmDi7JuS
2016-08-17 17:06:24 -05:00
Andrea Marchesini
248823da76
Bug 1264053 - MessagePort should support transferable objects in multi-e10s - part 2, r=sfink
2016-08-17 07:54:00 +02:00
Andrea Marchesini
a183983968
Bug 1264053 - MessagePort should support transferable objects in multi-e10s, r=sfink, r=smaug, r=jorendorff, r=janv
2016-07-21 15:29:42 +02:00
Emanuel Hoogeveen
8f67432641
Bug 1271165 - Part 3: Create and hook up an AllocPolicy for JSAPI. r=jandem
2016-08-12 07:37:00 -04:00
Jan de Mooij
536f87ca97
Bug 1294404 - Merge PerThreadDataFriendFields and ContextFriendFields, clean up APIs. r=terrence,bz
2016-08-12 11:39:16 +02:00
Jon Coppeard
17304689a2
Bug 1291292 - Use dynamic chunk allocation for the nursery r=terrence
2016-08-11 17:14:56 +01:00
Jon Coppeard
4d37e5f20d
Bug 1291292 - Use an enum class for the chunk location values r=terrence
2016-08-11 17:14:56 +01: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
Ehsan Akhgari
d10c483558
Bug 1293801 - Add a JS_IsInitialized() API; r=sfink
...
This is needed so that SpiderNode can support both being in charge of
initializing SpiderMonkey and allowing its embedder to do that.
2016-08-10 11:50:51 -04:00
Dan Gohman
95d7524476
Bug 1293313
- IonMonkey: Handle non-canonical NaNs in constant folding. r=luke
2016-08-09 15:35:55 -07:00
Chris Peterson
aab004d66f
Bug 1289987 - Part 3: Remove curly braces workaround for VS2013 ICE in ranged for loops in js/. r=fitzgen
2016-07-28 22:23:10 -07:00
Chris Peterson
4c53a24d6d
Bug 1289987 - Remove VS2013 workarounds from js/. r=fitzgen
...
--HG--
extra : rebase_source : a1498f597a955c5cc1e4ee904edc8a23c50aba9d
2016-07-27 22:59:55 -07:00
Chris Peterson
1408fa9074
Bug 1288925 - Replace JS_ALIGNAS() polyfill with alignas(). r=sfink
2016-07-25 01:14:04 -07:00
Jan de Mooij
e0ae8a8c5a
Bug 1286795 part 5 - Change some classes to take JSContext instead of JSRuntime. r=terrence
2016-07-23 19:53:03 +02: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
Jan de Mooij
0770a8d8b4
Bug 1286795 part 3 - Change UbiNode APIs to take JSContext instead of JSRuntime. r=fitzgen
2016-07-23 19:52:25 +02:00
Terrence Cole
c3a5940060
No Bug - Fix up some function names that appear in comments; r=meow
...
--HG--
extra : rebase_source : c71365b5b3aeb504318ad4720e76b3d0b75b50b9
2016-07-22 10:50:26 -07: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
Steve Fink
038fda516d
Bug 1264403 - Check for DEBUG mismatch between compiled code and library at runtime, r=Waldo
...
MozReview-Commit-ID: G40Dad5k8vb
--HG--
extra : rebase_source : 2ca8ef3c7ba044bbb38736018f0a35d6866419d0
extra : histedit_source : b4b35cfb5ed07cf36dfb95e15986b15f4c37f4ab
2016-07-20 18:25:02 -07:00
Jon Coppeard
17af524d85
Bug 1260785 - Make hashcode generation fallible for cell pointers that can be moved by GC r=terrence
2016-07-13 10:20:00 +01:00
Nick Fitzgerald
41cca25d10
Bug 1286108 - Do not provide construction methods for JS::ubi::TracerConcrete[WithCompartment]; r=jimb
...
These are supposed to be helper base classes that should not be instantiated
directly, so we shouldn't let it be possible to Concrete<T>::construct() them.
--HG--
extra : rebase_source : 1a136d2c9eee11c7bd5b0c96e596a43454aefcfa
2016-07-12 07:49:00 +02:00
Nick Fitzgerald
28d0598039
Bug 1286095 - Assert that `JS::ubi::Concrete<T>` inherits from `JS::ubi::Base`; r=jimb
2016-07-11 17:30:00 +02:00
Steve Fink
87e914a089
No bug. Comment TracerKindTag values. r=me, a=DONTBUILD
...
MozReview-Commit-ID: EJbBTKpQgNo
--HG--
extra : transplant_source : K%26%27X%D3/%AD%AC%DF%E3%BE%9CG5%90%FA%A9%0E%7F%0F
extra : histedit_source : db0dc1c5815b8eccaedb369a3b9c3ea01c2b25ea
2016-06-17 01:46:51 +01:00
Boris Zbarsky
4eb8d252a4
Bug 1275315 part 1. Add a Realm.h that defines getters for some standard prototype objects. r=waldo
2016-07-09 00:19:50 -04: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
5d3ead1816
Bug 1281061. Do an atom equality compare instead of a string compare on the script filename string in SavedFrame::isSelfHosted. r=fitzgen
2016-07-08 22:53:53 -04:00
Nick Fitzgerald
6300cda66b
Bug 1285302 - Add a note describing why 'JS::ubi::Size' is not size_t. r=jimb
2016-07-07 11:36:00 -04:00
Terrence Cole
f7ef937a46
Bug 1284977 - Use a properly aligned poison value; r=jandem
...
--HG--
extra : rebase_source : 29869ed039db1ea7febc5d73b8cc2e0469282167
2016-07-07 08:58:30 -07:00
Jeff Walden
aaeb46f1ff
Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
...
--HG--
extra : rebase_source : b552346c5b2b3a5d32ca513efd45356fe94f3abd
2016-07-05 17:41:12 -07:00
Sebastian Hengst
cfa0d595fb
Backed out changeset 2620e5ba1067 (bug 1282795) for 'Concrete' redeclaration in HeapSnapshot.h (static failure). r=backout
2016-07-07 19:26:27 +02:00
Jeff Walden
ccddc5c404
Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
...
--HG--
extra : rebase_source : 967291d2bb028a379fcf1217ef8b116af5122cad
2016-07-05 17:41:12 -07:00
Jan de Mooij
900af968f3
Bug 1283855
part 28 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence
...
--HG--
extra : rebase_source : c2d35b5d45cad074b9a9a144bc25ea4a32b8b246
2016-07-07 09:56:09 +02: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
79865aba2a
Bug 1283855
part 17 - Make {Get,Set}DebuggerMallocSizeOf take JSContext instead of JSRuntime. r=jimb
2016-07-06 11:40:20 +02:00
Jan de Mooij
e4ae5f26da
Bug 1283855
part 20 - Make more principals code take JSContext instead of JSRuntime. r=luke
...
--HG--
extra : rebase_source : ad5f2f5b5bef9d20e4e248898a3c754adb306683
2016-07-05 16:49:46 +02:00
Jan de Mooij
078a91ca56
Bug 1283855
part 19 - Make security callbacks take JSContext instead of JSRuntime. r=jorendorff
...
--HG--
extra : rebase_source : c106826540912b00550b2d6162dcae6e1fb616d4
2016-07-05 16:49:44 +02:00
Jan de Mooij
6c5b8f4c2e
Bug 1283855
part 18 - Make JS_DropPrincipals take JSContext instead of JSRuntime. r=luke
...
--HG--
extra : rebase_source : 6f86a455c5ae2e0b306916a7121708a537a6105b
2016-07-05 16:49:41 +02:00