Commit Graph

196 Commits

Author SHA1 Message Date
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
Terrence Cole
309f950dae Bug 1243888 - Derive RootKind automatically from TraceKind; r=sfink
--HG--
extra : rebase_source : 4ea174eb95c36ac1452baa0ed44b4c99ff517d9e
2016-01-27 09:54:53 -08:00
Terrence Cole
52e9feb9d3 Bug 1234862 - Part 5: Rename DefaultGCPolicy to GCPolicy; r=sfink 2016-01-26 12:53:35 -08:00
Terrence Cole
eff749c612 Bug 1234862 - Part 1: Rename GCMethods to BarrierMethods; r=sfink
--HG--
extra : rebase_source : a773cf25e8e9986a154b8a8b0d04c6b9267545b8
2015-12-28 10:11:40 -08:00
Terrence Cole
2f587b2fc3 Bug 1226687 - Part 1: Export a GCPolicy usable by JS::Heap; r=fitzgen
--HG--
extra : rebase_source : 7ac38143297ef92265faefe6ce800b6c55dcaa64
2015-11-20 13:53:19 -08:00
Terrence Cole
2f08c5931f Bug 1225237 - Use stable hashing for DOMExpandoSet; r=jonco
--HG--
extra : rebase_source : 56667af18db264805536e8e559c5dd8d8b2750b3
2015-11-17 11:32:53 -08:00
Terrence Cole
7b03f08dcb Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco
--HG--
extra : rebase_source : b485e16dc891f610359f7a10404184d631ff4b70
2015-11-17 11:31:52 -08:00
Terrence Cole
5a9e23aec9 Backout 02919b7d57d7 (Bug 1225233) for having regressed all the things.
--HG--
extra : rebase_source : 47a1afd6aff292442a0a552910230d9905686bf0
2015-11-17 16:55:46 -08:00
Terrence Cole
74d8258add Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco
--HG--
extra : rebase_source : 7a6e74ecfdb791f0188d4b8e7b73ca9b2078c425
2015-11-17 11:31:52 -08:00
Michael Wu
ed4b205b47 Bug 1212663 - Use doxygen style comments in jsapi, r=Waldo 2015-10-17 13:27:16 -04:00
Terrence Cole
c5685d0363 Bug 1204594 - Use MOZ_RAII to replace GUARD_OBJECT where possible in the GC; r=sfink
--HG--
extra : rebase_source : 50eb4339b8fe16376c39a07978d61f6ea1f47eae
2015-09-15 12:12:26 -07:00
Michael Layzell
0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Steve Fink
683fec6f81 Bug 1195957 - Implement a Swap for Heap<T> that does not put temporaries on the stack, r=terrence
--HG--
extra : rebase_source : 12a82f83e9c7e6317fb2dc2a6d066ecf81beed05
2015-08-18 12:25:01 -07:00
Nick Fitzgerald
050a672216 Bug 1192456 - Use perfect forwarding for DispatchWrapper rather than explicit move and copy constructors. r=terrence
--HG--
extra : rebase_source : 68ee85bb409b0328eb935ddba00dc64e4f3efa86
2015-08-07 17:47:00 -04:00
Terrence Cole
5642c1e57a Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink
--HG--
extra : rebase_source : 388eda7d637ed89ef2da99408caec9ea91ca61cd
2015-07-28 09:21:32 -07:00
Terrence Cole
b63cc4b216 Bug 1189809 - Remove the ill-fated DynamicTraceable; r=jonco
--HG--
extra : rebase_source : 31b4c475a8459ef42f2be68bbf0f1ca3d5b7d0d4
2015-07-31 08:27:12 -07:00
Ehsan Akhgari
a056599e07 Bug 1188208 - Fix more constructors in js; r=jorendorff 2015-07-30 14:03:17 -04:00