Dorel Luca
20ddc8dfae
Backed out 7 changesets (bug 1377007) for failing build bustage on Linux pgo and faling Cpp's jsapi-tests r=backout on a CLOSED TREE
...
Backed out changeset 9428a4ed7dec (bug 1377007)
Backed out changeset 4407b43a8aff (bug 1377007)
Backed out changeset 65a37a7f78a5 (bug 1377007)
Backed out changeset 276fe6d9b716 (bug 1377007)
Backed out changeset 1de46e60ffba (bug 1377007)
Backed out changeset 893e303e17ec (bug 1377007)
Backed out changeset 081a241e25d4 (bug 1377007)
2017-12-04 18:01:09 +02:00
David Teller
6cbd331d9e
Bug 1377007 - GC for binjs-ref parser;r=sfink
...
MozReview-Commit-ID: EjZZ1ofm52t
--HG--
extra : rebase_source : f45fc9709f0c2d18baccdc27cba3476b7a610b61
2017-09-05 14:51:30 +02:00
Jon Coppeard
d263df0462
Bug 1417123 - Move rooting-related classes from jspubtd.h to public/RootingAPI.h r=sfink
2017-11-16 12:21:07 +00:00
Jon Coppeard
0cfc710f84
Bug 1417123 - Move barrier function declarations to public/HeapAPI.h r=sfink
2017-11-16 12:21:07 +00:00
Jon Coppeard
b6270c9da7
Bug 1400003 - Mark Heap<T> and barrier classes as MOZ_NON_MEMMOVABLE r=sfink r=froydnj
2017-10-09 10:03:20 +01:00
Jon Coppeard
2a820b9683
Bug 1402649 - Fix valid GC cell pointer asserts and error handling in module instantiation r=sfink
2017-09-26 10:23:14 +01:00
Yoshi Huang
42bd74780c
Bug 1399399 - Move internal classes out of RootingAPI.h. r=jonco
2017-09-25 14:52:16 +08:00
Jon Coppeard
ae251056d7
Bug 1399944 - Check for valid GC cell pointers in various places r=sfink
2017-09-19 12:31:31 +01:00
Jon Coppeard
08ac3244a6
Bug 1370869 - Don't copy scope data in XDR decode r=shu
2017-06-12 10:43:46 +01:00
Jon Coppeard
e7b80c5987
Bug 1362977 - Rename CellSize to CellAlignBytes and improve the naming of related constants r=sfink
2017-05-09 11:38:32 +01:00
Bill McCloskey
ee9f642133
Bug 1359245 - Remove CycleCollectedJSRuntime::mJSContext (r=mccr8,sfink)
...
This patch eliminates a field where we assume that there is one
CycleCollectedJSContext per runtime.
MozReview-Commit-ID: 5cEL5Ml6Y9v
2017-04-27 15:34:46 -07:00
Nick Fitzgerald
4fa7679d42
Bug 1277338 - Part 3: Make JS::Rooted and JS::PersistentRooted share the same MaybeWrapped<T> definition; r=sfink
...
They were previously using duplicate definitions and this DRYs them up. This is
needed because bindgen can't understand `mozilla::Conditional`, and so we want
to replace `MaybeWrapped` with something a little simpler when doing bindings
generation, and its easier if we don't have to repeat our desired replacement as
well.
2017-04-13 13:22:20 -07:00
Jon Coppeard
82cbd987a2
Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8
2017-03-02 10:22:47 +00:00
Jon Coppeard
46c6dced28
Bug 1338614 - Refactor incremental barrier APIs and make them call the read barrier r=sfink
2017-02-13 11:11:09 +00:00
David Major
1306bd2aec
Bug 1262595: Reduce duplication of ConstNullValue across compilation units. r=sfink
...
MozReview-Commit-ID: K8MuV7RYRBI
--HG--
extra : rebase_source : e97ac44d40b9a910cef36e3965b96bf51fb6df88
2017-02-09 12:18:08 +13:00
Brian Hackett
db7742c7f9
Bug 1325050 - Structure reorganization for multithreaded runtimes, r=jandem,jonco,h4writer,luke,lhansen,nbp.
...
--HG--
extra : rebase_source : 53c8fbae972fbf2f5e9428ce4d2965c8f86e942d
2017-02-02 12:12:43 -07:00
Jon Coppeard
ca898ea355
Bug 1325406 - Refactor rooting base class templates r=sfink r=mccr8
2017-01-10 10:12:14 +00:00
Jon Coppeard
78644b3683
Bug 1323241 - Only report things as gray if gray marking state is valid r=sfink
2017-01-06 11:23:21 +00:00
Steve Fink
7f97277dc2
Bug 1308236 - Don't trigger read barriers when comparing wrapped pointers types r=sfink r=mccr8
2016-10-28 15:11:56 -07:00
Jon Coppeard
37de54b8fa
Bug 1315122 - Remove JS::Heap<T>'s unused setToCrashOnTouch() methods r=jandem
2016-11-04 17:32:36 +00:00
Jon Coppeard
556585c65f
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
Jon Coppeard
123936bacd
Bug 1306382
- Automatically ExposeToActiveJS when reading out of a TenuredHeap<T> r=sfink r=mccr8
2016-10-07 13:58:37 +02:00
Terrence Cole
0edc10380c
Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8
2016-02-07 09:08:55 -08:00
Tooru Fujisawa
56fd9aac76
Bug 1290337 - Part 6: Replace Value parameter to const Value& in RootingAPI. r=terrence
2016-09-11 18:15:22 +09:00
Terrence Cole
76b800594e
Backed out changeset d85334f696eb (bug 1285057) for implicitly depending on clang 3.8.
...
--HG--
extra : rebase_source : 472f9411c9d528d63d523c99f4842a1216bdd560
2016-09-23 15:59:55 -07:00
Terrence Cole
b605dece0c
Bug 1285057 - Blacklist UBSan detection of the GC's generic interfaces; r=sfink
...
--HG--
extra : rebase_source : f5367a8685ec462edb7e30e5ed3d274b4a9bcd0f
2016-07-07 08:59:36 -07:00
Leo Gaspard
2df9fd1853
Bug 1297244 - Assert on the type given as a parameter to Heap. r=terrence
...
--HG--
extra : rebase_source : 2523f190a45bf3669f40392226df6a0b6fbc9806
2016-08-24 14:21:42 -07:00
Shu-yu Guo
e2b6833e0a
Bug 1263355 - Rewrite the frontend: bindings. (r=jorendorff,Waldo)
2016-08-25 01:28:47 -07: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
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
Chris Peterson
1408fa9074
Bug 1288925 - Replace JS_ALIGNAS() polyfill with alignas(). r=sfink
2016-07-25 01:14:04 -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
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -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
zhoubcfan@163.com
e46e500df0
Bug 1280789
- Unbreak mingw builds, r=sfink
...
--HG--
extra : rebase_source : 4aa8b4709659f301e3ba22fa429f0b1ef756ff26
2016-06-20 18:43:02 +01:00
Steve Fink
4def6edc38
Bug 1272887 followup fix - alignas is not yet allowed, r=till
...
--HG--
extra : rebase_source : ff8b1293541493fd3639ebc7d2652cd34d66f824
extra : histedit_source : fa36fd9ce4faac7ff7d82b0272178154b90e55b7
2016-06-07 20:31:37 -07:00
Steve Fink
e915d9775e
Bug 1272887 - Set alignment of PersistentRooted.ptr field for reinterpret_cast on win32, r=terrence
...
MozReview-Commit-ID: BMaft7pCX2q
--HG--
extra : rebase_source : 6313fc361c7499c164a7962205ccbc40efc22527
2016-06-02 12:37:09 -07:00
Terrence Cole
4bf8df3a44
Bug 1266887 - Store Rooted heads on the Zone; r=sfink
...
--HG--
extra : rebase_source : 30686e746021d123947ade0ad51b10f1b3d32ee9
2016-04-25 12:32:36 -07:00
Terrence Cole
9ca2f324ec
Backout edb632ad80c4 (Bug 1266887) for regressing performance on windows.
2016-05-03 13:59:50 -07:00
Terrence Cole
8e2294b2b6
Bug 1267699 - Move some public types to the right namespace; r=sfink
...
--HG--
extra : rebase_source : f79f7d86aab708b86a65e6f2426baeb8488f47e5
2016-04-26 09:18:48 -07:00
Terrence Cole
e27fba9d56
Bug 1266887 - Store Rooted heads on the Zone; r=sfink
...
--HG--
extra : rebase_source : 1a9056f7d67eb118d55c789c18935799f871344f
2016-04-25 12:32:36 -07:00
Steve Fink
517605b022
Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
...
MozReview-Commit-ID: HCcG2k8Wyb9
--HG--
extra : rebase_source : 732ef6ecc52f0e528d38b8c42e442919eba9b5ae
extra : source : 901b1c651c982ccbf42604231c723d168e1cde69
2015-09-29 13:39:33 -07:00
Steve Fink
57bca06b15
Backed out changeset 901b1c651c98 (bug 1246804)
...
--HG--
extra : rebase_source : d80a34f467275bf74672b87fd09a254b39ee20a1
2016-03-14 21:58:31 -07:00
Steve Fink
2dada4b1a0
Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
...
MozReview-Commit-ID: HCcG2k8Wyb9
--HG--
extra : rebase_source : 4b048fdcb150662c82e1b623e455551cc7281251
2015-09-29 13:39:33 -07:00
Terrence Cole
4ed1c831e9
Bug 1244909 - Store all persistent roots on the JSRuntime; r=sfink
2016-02-11 13:04:10 -08:00
Terrence Cole
537d4adc58
Bug 1247328 - Make PersistentRooted fully support Move semantics; r=sfink
...
--HG--
extra : rebase_source : fb4ccb31648f27b75c3088636a9cafd0934b6082
2016-02-10 12:28:18 -08:00
Terrence Cole
dcd54c45e5
Bug 1246697 - Use simpler semantics for PersistentRooted<Traceable>; r=sfink
...
--HG--
extra : rebase_source : 4b67513c7c9b9405f06c0d633af45c1b8d971393
2016-02-10 09:48:28 -08:00
Terrence Cole
245c375321
Bug 1244365 - Remove Traceable; r=sfink
...
--HG--
extra : rebase_source : 8e6498b6e379b026c70b4ba7d13d30b664eef4ed
2016-01-29 16:56:11 -08:00
Terrence Cole
681960447c
Bug 1244358 - Support all types in PersistentRooted; r=sfink
...
--HG--
extra : rebase_source : 4b2d0c675075c1a0e19bad293ca255ba898f057c
2016-01-27 13:03:52 -08:00